forked from External/greenlight
Reorganized docker-contrib.yml (#585)
This commit is contained in:
parent
ccbd46f045
commit
efe0e70b03
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue