Restart always by default
This commit is contained in:
parent
1aaca49a46
commit
41b57ede1b
@ -1,5 +1,6 @@
|
||||
db:
|
||||
build: db
|
||||
restart: always
|
||||
volumes:
|
||||
- ./volumes/db/var/lib/postgresql/data:/var/lib/postgresql/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
@ -13,6 +14,7 @@ app:
|
||||
build: app
|
||||
links:
|
||||
- db:db
|
||||
restart: always
|
||||
volumes:
|
||||
- ./volumes/app/mattermost/config:/mattermost/config:rw
|
||||
- ./volumes/app/mattermost/data:/mattermost/data:rw
|
||||
@ -24,6 +26,7 @@ web:
|
||||
- "443:443"
|
||||
links:
|
||||
- app:app
|
||||
restart: always
|
||||
volumes:
|
||||
# This directory must have cert files
|
||||
- ./volumes/web/cert:/cert:ro
|
||||
|
Reference in New Issue
Block a user