diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index b31b703..33915a1 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 + - ../spider:/apps/spider - ../statscompiler:/apps/stats - ../analyzer:/apps/climate @@ -120,6 +121,23 @@ services: env_file: - local.env +### Python Container for spider + spider: + container_name: vaindock_spider + build: ./python + volumes_from: + - applications + links: + - vaindock_postgres_raw + environment: + - POSTGRESQL_HOST=vaindock_postgres_raw + - POSTGRESQL_PORT=5432 + - POSTGRESQL_DB=vainsocial-raw + - POSTGRESQL_USER=vainraw + - POSTGRESQL_PASSWORD=vainraw + - VAINSOCIAL_SPIDERTHROTTLE=5 + env_file: + - local.env ### Python Container for processor processor: |
