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

+2
View File
@@ -4,6 +4,7 @@
services:
diun:
image: crazymax/diun:4
restart: unless-stopped
command: serve
environment:
DIUN_PROVIDERS_DOCKER: "true"
@@ -26,6 +27,7 @@ services:
# Read-only slice of the Docker API. POST is revoked by default in this image.
dockerproxy:
image: tecnativa/docker-socket-proxy:latest
restart: unless-stopped
environment:
CONTAINERS: 1
IMAGES: 1