chore: set restart: unless-stopped on every service

Coolify injects the same value when a compose service omits one, but Dokploy
runs the file as written, so in its default compose mode an omitted policy
leaves the container down after a crash or a host reboot.
This commit is contained in:
tiennm99 committed 2026-09-20 14:34:57 +07:00
1 parent b626c5b70d
commit c2b508c171
10 files changed
+29 -12

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
services:
db:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: gitea
POSTGRES_USER: gitea
@@ -15,6 +16,7 @@ services:
gitea:
image: gitea/gitea:latest
restart: unless-stopped
depends_on:
db:
condition: service_healthy
@@ -33,6 +35,7 @@ services:
gitea-mirror:
image: ghcr.io/raylabshq/gitea-mirror:latest
restart: unless-stopped
pull_policy: always
volumes:
- gitea-mirror-data:/app/data