fix(deploy): use IPv4 for web health check

This commit is contained in:
Christian Johannesen 2026-10-18 17:06:54 +02:00
parent acc5799994
commit 00700b593a

View file

@ -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