diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 22 |
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: |
