summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKapil Viren Ahuja <kvahuja@users.noreply.github.com>2017-03-01 11:35:52 +0530
committerGitHub <noreply@github.com>2017-03-01 11:35:52 +0530
commit58702bee714930fb243c47712d334d442009f5cd (patch)
tree32b12b23355ccf13ac4171cc0d64385cd0f2587e
parent81a6fcd7bda0aa4756f58151c6e37c57d940816a (diff)
parent7b8331b38c733d93652772667c7dc778c30f6e7c (diff)
downloadvaindock-58702bee714930fb243c47712d334d442009f5cd.tar.gz
vaindock-58702bee714930fb243c47712d334d442009f5cd.zip
Merge pull request #7 from vainglorygame/add-compiler
add compiler container
-rw-r--r--docker-compose.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 7f10d0c..a35906d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -11,6 +11,7 @@ services:
# volume to map Vainsocial.com code. used by Workspace repo.
- ../vainsocial/:/var/www/vainsocial
- ../apigrabber:/apps/api
+ - ../statscompiler:/apps/stats
- ../analyzer:/apps/climate
### Workspace Utilities Container ###########################
@@ -141,6 +142,27 @@ services:
- POSTGRESQL_DEST_PASSWORD=vainweb
+### Python Container for compiler
+ compiler:
+ build: ./python
+ volumes:
+ - ../statscompiler:/apps/api
+ links:
+ - vaindock_postgres_raw
+ - vaindock_postgres_web
+ environment:
+ - POSTGRESQL_SOURCE_HOST=vaindock_postgres_raw
+ - POSTGRESQL_SOURCE_PORT=5432
+ - POSTGRESQL_SOURCE_DB=vainsocial-raw
+ - POSTGRESQL_SOURCE_USER=vainraw
+ - POSTGRESQL_SOURCE_PASSWORD=vainraw
+ - 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 ####################################
vaindock_postgres_web: