pin sevice to ipv4 (#50)

#### 📖 Summary

<!-- Provide a summary of your changes. Describe the why and not how. -->

- workaround for ipv6 issue after updating docker
- disable healtcheck due to timing issues

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] CI pipeline
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Reviewed-on: #50
This commit is contained in:
OCram85 2024-03-24 09:24:16 +01:00
parent be103753f5
commit ad2d82e5aa
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ RUN npm install \
FROM nginx:1.23.3-alpine as prod
LABEL maintainer="marco.blessing@googlemail.com"
HEALTHCHECK --interval=15s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
#HEALTHCHECK --interval=15s --timeout=5s \
# CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
COPY --from=builder src/public /usr/share/nignx/html/
COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -5,7 +5,7 @@ http {
include mime.types;
server {
listen 80;
listen 0.0.0.0:80;
root /usr/share/nignx/html;
index index.html;
error_page 404 /404.html;