Reorganized docker-contrib.yml (#585)

This commit is contained in:
Jesus Federico
2019-06-26 10:54:03 -04:00
committed by GitHub
parent ccbd46f045
commit efe0e70b03

View File

@ -9,22 +9,19 @@ services:
restart: unless-stopped
ports:
- 5000:80
# When using sqlite3 as the database
# volumes:
# - ./db/production:/usr/src/app/db/production
# - ./log:/usr/src/app/log
# When using external logging
# logging:
# driver: $LOG_DRIVER
# options:
# syslog-address: $LOG_ADDRESS
# tag: $LOG_TAG
volumes:
- ./log:/usr/src/app/log
# When using sqlite3 as the database
# - ./db/production:/usr/src/app/db/production
# When using postgresql as the database
links:
- db
#
db:
image: postgres:9.5
restart: on-failure