Replies: 5 comments 3 replies
-
hi @defp can you share your deploy.yml config |
Beta Was this translation helpful? Give feedback.
-
deploy log for traefik INFO [7b0ea538] Running docker run --detach --restart unless-stopped --name dataengine-ai-web-c939a4270f625edf44144ee5e2bf5841f51b38ac --hostname 10.3.56.132-da91766b923a -e KAMAL_CONTAINER_NAME="dataengine-ai-web-c939a4270f625edf44144ee5e2bf5841f51b38ac" -e KAMAL_VERSION="c939a4270f625edf44144ee5e2bf5841f51b38ac" --env-file .kamal/env/roles/dataengine-ai-web.env --env MODELS_PATH="/root/models" --env SENTRY_ENV="dev" --health-cmd "(curl -f http://localhost:30000/health || exit 1) && (stat /tmp/kamal-cord/cord > /dev/null || exit 1)" --health-interval "1s" --volume $(pwd)/.kamal/cords/dataengine-ai-web-c51fb21f11416857eb33161354de6075:/tmp/kamal-cord --log-opt max-size="10m" --volume /root/models/:/root/models/ --volume /root/.paddleocr:/root/.paddleocr --label service="dataengine-ai" --label role="web" --label destination --label traefik.http.services.dataengine-ai-web.loadbalancer.server.scheme="http" --label traefik.http.routers.dataengine-ai-web.rule="PathPrefix(`/`)" --label traefik.http.routers.dataengine-ai-web.priority="2" --label traefik.http.middlewares.dataengine-ai-web-retry.retry.attempts="5" --label traefik.http.middlewares.dataengine-ai-web-retry.retry.initialinterval="500ms" --label traefik.http.routers.dataengine-ai-web.middlewares="dataengine-ai-web-retry@docker" --gpus "all" registry.nocode-tech.com/kamal/dataengine-ai:c939a4270f625edf44144ee5e2bf5841f51b38ac on 10.3.56.132 |
Beta Was this translation helpful? Give feedback.
-
this works |
Beta Was this translation helpful? Give feedback.
-
The app container expose two port 22 and 30000
traefik send request to 22, but the web server listen 30000, traefik should proxy request to 30000 port
the request should be forward to 30000 port
I add
EXPOSE 30000
to Dockerfile, but not workBeta Was this translation helpful? Give feedback.
All reactions