From b1d2bd3c83fb266de84043871bbffa8e0f0c1c60 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 26 Jul 2026 03:35:10 +0000 Subject: [PATCH] fix(compose): restore unless-stopped restart for MongoDB and tasks on-failure:3 does not restart containers after a host/Docker daemon reboot, so mongodb and scheduler/maintenance tasks stayed down while the rest of the stack recovered. Revert these services to unless-stopped to match production expectations for the installer compose template. Fixes #13002 Co-authored-by: Chirag Aggarwal --- docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a23a2e1b8b..ddcf62e216 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -935,7 +935,7 @@ services: - _APP_MIGRATION_HOST appwrite-task-maintenance: entrypoint: maintenance - restart: on-failure:3 + restart: unless-stopped logging: driver: json-file options: @@ -982,7 +982,7 @@ services: - _APP_DATABASE_SHARED_TABLES appwrite-task-interval: entrypoint: interval - restart: on-failure:3 + restart: unless-stopped logging: driver: json-file options: @@ -1024,7 +1024,7 @@ services: appwrite-task-scheduler-functions: entrypoint: schedule-functions - restart: on-failure:3 + restart: unless-stopped logging: driver: json-file options: @@ -1063,7 +1063,7 @@ services: - _APP_DATABASE_SHARED_TABLES appwrite-task-scheduler-executions: entrypoint: schedule-executions - restart: on-failure:3 + restart: unless-stopped logging: driver: json-file options: @@ -1102,7 +1102,7 @@ services: - _APP_DATABASE_SHARED_TABLES appwrite-task-scheduler-messages: entrypoint: schedule-messages - restart: on-failure:3 + restart: unless-stopped logging: driver: json-file options: @@ -1290,7 +1290,7 @@ services: options: max-file: "5" max-size: 10m - restart: on-failure:3 + restart: unless-stopped networks: - appwrite volumes: