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 <chiragaggarwal5k@gmail.com>
This commit is contained in:
Cursor AgentandChirag Aggarwal committed 2026-07-26 03:35:42 +00:00
1 parent 0c77d0321f
commit b1d2bd3c83
1 file changed
+6 -6
+6 -6
View File
@@ -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: