File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ services:
3434 WATCHPACK_POLLING : " true"
3535 # Development usage only
3636 NODE_TLS_REJECT_UNAUTHORIZED : " 0"
37+ healthcheck :
38+ test : [ "CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:3000 || exit 1" ]
39+ start_period : 10s
40+ interval : 5s
41+ timeout : 3s
42+ retries : 5
3743
3844# ##> doctrine/doctrine-bundle ###
3945 database :
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ services:
2222 NEXT_PUBLIC_OIDC_SERVER_URL : ${NEXT_PUBLIC_OIDC_SERVER_URL}
2323 environment :
2424 AUTH_SECRET : ${AUTH_SECRET}
25+ healthcheck :
26+ test : [ "CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:3000 || exit 1" ]
27+ start_period : 5s
28+ interval : 5s
29+ timeout : 3s
30+ retries : 5
2531
2632 database :
2733 environment :
Original file line number Diff line number Diff line change @@ -48,12 +48,6 @@ services:
4848 AUTH_SECRET : ${AUTH_SECRET:-!ChangeThisNextAuthSecret!}
4949 AUTH_URL : ${AUTH_URL:-https://localhost/api/auth}
5050 NEXT_SHARP_PATH : /srv/app/node_modules/sharp
51- healthcheck :
52- test : [ "CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1" ]
53- start_period : 5s
54- interval : 10s
55- timeout : 3s
56- retries : 5
5751
5852# ##> doctrine/doctrine-bundle ###
5953 database :
You can’t perform that action at this time.
0 commit comments