summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-23 14:56:51 +0530
committerKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-23 14:56:51 +0530
commit3e6d4e91845c10cf38e1f9cd72a238eff37cbfb8 (patch)
tree56ce6f3ee14b8b6bee77311b7d44b3fe73af4c79
parent133c6edb7d3f9f07311a40b9bca6925e7dd0f05e (diff)
downloadvaindock-3e6d4e91845c10cf38e1f9cd72a238eff37cbfb8.tar.gz
vaindock-3e6d4e91845c10cf38e1f9cd72a238eff37cbfb8.zip
Modified to support the fun MLM site
-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