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
|
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
|
||||||
|
|
Loading…
Reference in New Issue