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.

32 lines
727 B

server:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./config/nginx:/etc/nginx/conf.d
- ./collected_static:/var/interlegis/sapl/collected_static
- ./media:/var/interlegis/sapl/media
volumes_from:
- 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/
- ./data:/data-import
ports:
- "5532:5432"
web:
build: .
volumes:
- .:/var/interlegis/sapl/
- ./data:/var/interlegis/sapl/data
- ./media:/var/interlegis/sapl/media
- ./collected_static:/var/interlegis/sapl/collected_static
links:
- sapldb