From 516702e90102bd8377d4bd8ab4127fd1959000a4 Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Sat, 17 May 2025 13:25:06 -0700 Subject: [PATCH] fix: prevent appwrite-task-stats-resources from crashing Remove the volume mounts meant for local development from the prod docker-compose file. Also, ensure the container restarts automatically if it crashes just like all the other containers. --- app/views/install/compose.phtml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index d52c823b4e..f3b00a3e97 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -685,11 +685,9 @@ $image = $this->getParam('image', ''); container_name: appwrite-task-stats-resources entrypoint: stats-resources <<: *x-logging + restart: unless-stopped networks: - appwrite - volumes: - - ./app:/usr/src/code/app - - ./src:/usr/src/code/src depends_on: - redis - mariadb