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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 7 deletions

View File

@ -9,22 +9,19 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- 5000:80 - 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 # When using external logging
# logging: # logging:
# driver: $LOG_DRIVER # driver: $LOG_DRIVER
# options: # options:
# syslog-address: $LOG_ADDRESS # syslog-address: $LOG_ADDRESS
# tag: $LOG_TAG # 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 # When using postgresql as the database
links: links:
- db - db
#
db: db:
image: postgres:9.5 image: postgres:9.5
restart: on-failure restart: on-failure