From 7b8331b38c733d93652772667c7dc778c30f6e7c Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 28 Feb 2017 19:04:09 +0100 Subject: add compiler container --- docker-compose.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docker-compose.yml') 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: -- cgit v1.3.1