Skip to content

Commit b77a4d7

Browse files
committed
Change services restart to unless-stopped
1 parent 99a88e0 commit b77a4d7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docker-compose2.0/docker-compose.setup.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
core:
3-
restart: always
3+
restart: unless-stopped
44
image: ghcr.io/defguard/defguard:${DEFGUARD_CORE_TAG:?DEFGUARD_CORE_TAG is required}
55
env_file: .env
66
environment:
@@ -16,15 +16,15 @@ services:
1616
- "8000:8000"
1717

1818
edge:
19-
restart: always
19+
restart: unless-stopped
2020
image: ghcr.io/defguard/defguard-proxy:${DEFGUARD_PROXY_TAG:?DEFGUARD_PROXY_TAG is required}
2121
volumes:
2222
- ./.volumes/certs/edge:/etc/defguard/certs
2323
ports:
2424
- "8080:8080"
2525

2626
gateway:
27-
restart: always
27+
restart: unless-stopped
2828
image: ghcr.io/defguard/gateway:${DEFGUARD_GATEWAY_TAG:?DEFGUARD_GATEWAY_TAG is required}
2929
cap_add:
3030
- NET_ADMIN
@@ -35,7 +35,7 @@ services:
3535
HEALTH_PORT: 55003
3636

3737
db:
38-
restart: always
38+
restart: unless-stopped
3939
image: postgres:18-alpine
4040
env_file: .env
4141
volumes:

0 commit comments

Comments
 (0)