mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 00:55:10 +00:00
added restart policy for critical sirvices
This commit is contained in:
parent
f6a5d22334
commit
bdcb905ba8
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ x-customizable-image: &customizable_image
|
||||||
# about using custom images.
|
# about using custom images.
|
||||||
image: ${CUSTOM_IMAGE:-frappe/erpnext}:${CUSTOM_TAG:-$ERPNEXT_VERSION}
|
image: ${CUSTOM_IMAGE:-frappe/erpnext}:${CUSTOM_TAG:-$ERPNEXT_VERSION}
|
||||||
pull_policy: ${PULL_POLICY:-always}
|
pull_policy: ${PULL_POLICY:-always}
|
||||||
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
|
|
||||||
x-depends-on-configurator: &depends_on_configurator
|
x-depends-on-configurator: &depends_on_configurator
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
@ -39,6 +40,7 @@ services:
|
||||||
REDIS_QUEUE: ${REDIS_QUEUE:-}
|
REDIS_QUEUE: ${REDIS_QUEUE:-}
|
||||||
SOCKETIO_PORT: 9000
|
SOCKETIO_PORT: 9000
|
||||||
depends_on: {}
|
depends_on: {}
|
||||||
|
restart: no
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue