Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
Update docker-compose
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Fernandes <[email protected]>
  • Loading branch information
msfernandes committed Nov 20, 2017
1 parent d09396a commit f3e1595
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
version: '2.3'
services:
nginx:
image: nginx
image: labhackercd/nginx-edemocracia
depends_on:
- colab
volumes:
- ./misc/etc/nginx/conf.d/:/etc/nginx/conf.d/:z
- colab_assets:/var/labhacker/colab/public:z
- audiencias:/var/labhacker/audiencias:z
- wikilegis:/var/labhacker/wikilegis:z
ports:
- "8000:80"
links:
- 'audienciasweb'
environment:
NAME_RESOLVER: '127.0.0.11'

db:
image: postgres
Expand Down Expand Up @@ -73,8 +74,7 @@ services:
expose:
- "8000"
depends_on:
db:
condition: service_healthy
- db

redis:
image: redis:alpine
Expand Down Expand Up @@ -128,10 +128,8 @@ services:
expose:
- "8000"
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
- db
- redis

audienciasworker:
image: labhackercd/audiencias-publicas
Expand Down Expand Up @@ -177,7 +175,7 @@ services:
- 'audienciasweb'

wikilegisweb:
image: labhackercd/wikilegis
image: labhackercd/wikilegis:1.3.0
command: ./start.sh
restart: on-failure
links:
Expand Down Expand Up @@ -221,10 +219,11 @@ services:
expose:
- "8000"
depends_on:
db:
condition: service_healthy
- db

volumes:
colab_data:
driver: local
colab_assets:
driver: local
audiencias:
Expand Down

0 comments on commit f3e1595

Please sign in to comment.