fix(deploy): use IPv4 for web health check
This commit is contained in:
parent
acc5799994
commit
00700b593a
1 changed files with 1 additions and 1 deletions
|
|
@ -33,4 +33,4 @@ CMD ["node", "apps/worker/dist/index.js"]
|
||||||
FROM nginx:1.29-alpine AS web
|
FROM nginx:1.29-alpine AS web
|
||||||
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=build /app/apps/web/dist /usr/share/nginx/html
|
COPY --from=build /app/apps/web/dist /usr/share/nginx/html
|
||||||
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://localhost/healthz || exit 1
|
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1/healthz || exit 1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue