diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0a85a77..e32f465 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -54,5 +54,5 @@ jobs: docker compose --project-name galaxis-po --env-file .env.prod -f docker-compose.prod.yml ps docker exec galaxis-po-backend python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || { echo "Backend: FAILED"; exit 1; } echo "Backend: OK" - docker exec galaxis-po-frontend wget -q --spider http://localhost:3000/ || { echo "Frontend: FAILED"; exit 1; } + docker exec galaxis-po-frontend wget -q --spider http://127.0.0.1:3000/ || { echo "Frontend: FAILED"; exit 1; } echo "Frontend: OK" diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 014f9b0..cc38df0 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -43,6 +43,6 @@ ENV HOSTNAME="0.0.0.0" # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \ - 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"]