Sistema de Apoio ao Processo Legislativo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
server:
|
|
|
|
image: nginx:latest
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
volumes:
|
|
|
|
- ./config/nginx:/etc/nginx/conf.d
|
|
|
|
volumes_from:
|
|
|
|
- web
|
|
|
|
links:
|
|
|
|
- web
|
|
|
|
sapldb:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: sapl
|
|
|
|
POSTGRES_USER: sapl
|
|
|
|
POSTGRES_DB: sapl
|
|
|
|
PGDATA : /var/lib/postgresql/data/
|
|
|
|
volumes:
|
|
|
|
- ./postgres-data/data/:/var/lib/postgresql/data/
|
|
|
|
ports:
|
|
|
|
- "5532:5432"
|
|
|
|
web:
|
|
|
|
build: .
|
|
|
|
command: /bin/sh -c "/bin/sh busy-wait.sh && python3 manage.py bower install && python3 manage.py migrate && /bin/sh gunicorn_start.sh"
|
|
|
|
volumes:
|
|
|
|
- .:/sapl
|
|
|
|
links:
|
|
|
|
- sapldb
|