mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-16 22:14:36 +00:00
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:
1 parent
b626c5b70d
commit
c2b508c171
10 files changed
+29
-12
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user