Browse Source

Included restart always and more env vars in docker-compose.yml

pull/1526/head
Fábio Kaiser Rauber 7 years ago
committed by GitHub
parent
commit
699758645e
  1. 13
      docker-compose.yml

13
docker-compose.yml

@ -1,5 +1,6 @@
sapldb: sapldb:
image: postgres image: postgres
restart: always
environment: environment:
POSTGRES_PASSWORD: sapl POSTGRES_PASSWORD: sapl
POSTGRES_USER: sapl POSTGRES_USER: sapl
@ -8,9 +9,19 @@ sapldb:
volumes: volumes:
- sapldb_data:/var/lib/postgresql/data/ - sapldb_data:/var/lib/postgresql/data/
ports: ports:
- "5532:5432" - "5432:5432"
sapl: sapl:
image: interlegis/sapl:3.1.24-BETA image: interlegis/sapl:3.1.24-BETA
restart: always
environment:
ADMIN_PASSWORD: interlegis
ADMIN_EMAIL: email@dominio.net
DEBUG: 'False'
USE_TLS: 'False'
EMAIL_PORT: 587
EMAIL_HOST: smtp.dominio.net
EMAIL_HOST_USER: usuariosmtp
EMAIL_HOST_PASSWORD: senhasmtp
volumes: volumes:
- sapl_data:/var/interlegis/sapl/data - sapl_data:/var/interlegis/sapl/data
- sapl_media:/var/interlegis/sapl/media - sapl_media:/var/interlegis/sapl/media

Loading…
Cancel
Save