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