From 3e6d4e91845c10cf38e1f9cd72a238eff37cbfb8 Mon Sep 17 00:00:00 2001 From: Kapil Viren Ahuja Date: Thu, 23 Mar 2017 14:56:51 +0530 Subject: Modified to support the fun MLM site --- docker-compose.yml | 16 +++++++++++++++- python/requirements.txt | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1