summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml16
-rw-r--r--python/requirements.txt1
2 files changed, 16 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index c7bd964..e880550 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,7 +10,6 @@ services:
# as long as all the Vainglory repo are checked out on the same level this will work just fine
# volume to map Vainsocial.com code. used by Workspace repo.
- ../vainsocial/:/var/www/vainsocial
- - ../vainstats/:/var/www/vainstats
- ../apigrabber:/apps/api
- ../preloader:/apps/preloader
- ../compiler:/apps/stats
@@ -222,6 +221,21 @@ services:
- POSTGRESQL_DEST_USER=vainweb
- POSTGRESQL_DEST_PASSWORD=vainweb
+### Python Container for cruncher
+ mlm:
+ build: ./python
+ volumes:
+ - ../minionlivesmatter:/apps/api
+ links:
+ - vaindock_postgres_web
+ ports:
+ - "8081:5000"
+ environment:
+ - POSTGRESQL_DEST_HOST=vaindock_postgres_web
+ - POSTGRESQL_DEST_PORT=5432
+ - POSTGRESQL_DEST_DB=vainsocial-web
+ - POSTGRESQL_DEST_USER=vainweb
+ - POSTGRESQL_DEST_PASSWORD=vainweb
### PostgreSQL Container - Web ####################################
diff --git a/python/requirements.txt b/python/requirements.txt
index 7eb6f20..2474881 100644
--- a/python/requirements.txt
+++ b/python/requirements.txt
@@ -11,3 +11,4 @@ asyncpg==0.9.0
numpy==1.12.0
protobuf==3.2.0
psycopg2==2.7
+flask \ No newline at end of file