added restart policy for critical sirvices

This commit is contained in:
DanielRadlAMR 2025-02-13 13:57:19 +01:00 committed by GitHub
parent f6a5d22334
commit bdcb905ba8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,7 @@ x-customizable-image: &customizable_image
# about using custom images.
image: ${CUSTOM_IMAGE:-frappe/erpnext}:${CUSTOM_TAG:-$ERPNEXT_VERSION}
pull_policy: ${PULL_POLICY:-always}
restart: ${RESTART_POLICY:-unless-stopped}
x-depends-on-configurator: &depends_on_configurator
depends_on:
@ -39,6 +40,7 @@ services:
REDIS_QUEUE: ${REDIS_QUEUE:-}
SOCKETIO_PORT: 9000
depends_on: {}
restart: no
backend:
<<: *backend_defaults