Skip to content

Commit 5c80dc9

Browse files
committed
fix: Change restart policy to always for all services in docker-compose
1 parent d06c3b7 commit 5c80dc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
environment:
1010
- NODE_ENV=${NODE_ENV:-production}
1111
- NEXT_TELEMETRY_DISABLED=1
12-
restart: unless-stopped
12+
restart: always
1313
healthcheck:
1414
test:
1515
[
@@ -40,7 +40,7 @@ services:
4040
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
4141
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
4242
- ADMIN_SETUP_TOKEN=${ADMIN_SETUP_TOKEN}
43-
restart: unless-stopped
43+
restart: always
4444
healthcheck:
4545
test:
4646
[
@@ -66,7 +66,7 @@ services:
6666
depends_on:
6767
- frontend
6868
- backend
69-
restart: unless-stopped
69+
restart: always
7070
networks:
7171
- myblog-network
7272

0 commit comments

Comments
 (0)