diff --git a/docker-compose.yml b/docker-compose.yml index 1756501..06f096d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ version: "3.8" services: backend: image: frappe/erpnext-worker:${APP_VERSION} - container:${APP_NAME} + container_name: ${APP_NAME} deploy: restart_policy: condition: on-failure @@ -16,7 +16,7 @@ services: configurator: image: frappe/erpnext-worker:${APP_VERSION} - container:${APP_NAME}-configurator + container_name: ${APP_NAME}-configurator command: - configure.py environment: @@ -31,7 +31,7 @@ services: create-site: image: frappe/erpnext-worker:${APP_VERSION} - container:${APP_NAME}-create-site + container_name: ${APP_NAME}-create-site deploy: restart_policy: condition: on-failure @@ -62,7 +62,7 @@ services: db: image: mariadb:10.6 - container:${APP_NAME}-db + container_name: ${APP_NAME}-db healthcheck: test: mysqladmin ping -h localhost --password=${DB_MARIA_PASSWORD} interval: 1s @@ -84,7 +84,7 @@ services: frontend: image: frappe/erpnext-nginx:${APP_VERSION} - container:${APP_NAME}-frontend + container_name: ${APP_NAME}-frontend deploy: restart_policy: condition: on-failure @@ -103,7 +103,7 @@ services: queue-default: image: frappe/erpnext-worker:${APP_VERSION} - container:${APP_NAME}-queue-default + container_name: ${APP_NAME}-queue-default deploy: restart_policy: condition: on-failure @@ -117,7 +117,7 @@ services: queue-long: image: frappe/erpnext-worker:${APP_VERSION} - container:${APP_NAME}-queue-long + container_name: ${APP_NAME}-queue-long deploy: restart_policy: condition: on-failure @@ -131,7 +131,7 @@ services: queue-short: image: frappe/erpnext-worker:${APP_VERSION} - container:${APP_NAME}-queue-short + container_name: ${APP_NAME}-queue-short deploy: restart_policy: condition: on-failure @@ -145,7 +145,7 @@ services: redis: image: redis:6.2-alpine - container:${APP_NAME}-redis + container_name: ${APP_NAME}-redis deploy: restart_policy: condition: on-failure @@ -154,7 +154,7 @@ services: scheduler: image: frappe/erpnext-worker:${APP_VERSION} - container:${APP_NAME}-scheduler + container_name: ${APP_NAME}-scheduler deploy: restart_policy: condition: on-failure @@ -166,7 +166,7 @@ services: websocket: image: frappe/frappe-socketio:${APP_VERSION} - container:${APP_NAME}-websocket + container_name: ${APP_NAME}-websocket deploy: restart_policy: condition: on-failure