diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-08 17:51:21 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-08 17:51:55 +0100 |
| commit | c7f6cf0514ba8e1d325668c6a25d3e77d0bca417 (patch) | |
| tree | 43fd5354dc50bd143baef3e42a1504f12e7ce358 | |
| parent | 8e7ade1e5d585493e715d3e521fe4e2d55661973 (diff) | |
| download | vaindock-c7f6cf0514ba8e1d325668c6a25d3e77d0bca417.tar.gz vaindock-c7f6cf0514ba8e1d325668c6a25d3e77d0bca417.zip | |
add spider container
| -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: |
