Update for dns changes
CI / backend (push) Successful in 10m2s
CI / frontend (push) Successful in 1m56s

This commit is contained in:
2026-08-11 04:32:48 +08:00
parent 223a0d1664
commit 1ade75b635
7 changed files with 22 additions and 5 deletions
+2 -2
View File
@@ -17,5 +17,5 @@ COPY --from=build /src/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
CMD wget -qO- http://localhost/ >/dev/null || exit 1
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -qO- http://127.0.0.1/ >/dev/null || exit 1
+5
View File
@@ -1,5 +1,10 @@
server {
listen 80;
# Required explicitly: the nginx image's 10-listen-on-ipv6-by-default.sh
# only patches the stock default.conf. We replace that file, so without
# this line the container listens on IPv4 only while HEALTHCHECK wget
# resolves localhost to ::1 and fails → Docker reports unhealthy.
listen [::]:80;
server_name _;
root /usr/share/nginx/html;
index index.html;