diff --git a/docker-compose.yml b/docker-compose.yml index 04a83c5..16cca5f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -61,6 +61,8 @@ services: environment: - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:8000/api/v1} - NODE_ENV=production + - HOSTNAME=0.0.0.0 + - PORT=3000 depends_on: backend: condition: service_healthy diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 7f77172..e49e2cf 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -41,6 +41,6 @@ EXPOSE 3000 # Health check HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=10s \ - CMD wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1 + CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/ || exit 1 CMD ["node", "server.js"]