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