gitea-mcp healcheck
docker-node image / build (arm64) (push) Successful in 13s
docker-node image / amend-manifest (push) Successful in 9s

This commit is contained in:
2026-07-08 08:22:54 +07:00
parent 9a75fdcd45
commit db8cf888ef
+6
View File
@@ -33,5 +33,11 @@ RUN chmod +x /usr/local/bin/gitea-mcp
# Cấu hình thư mục log # Cấu hình thư mục log
ENV HOME=/app ENV HOME=/app
# Cổng HTTP mặc định (đổi qua flag -p khi chạy nếu cần)
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD curl -s -o /dev/null http://localhost:8080/ || exit 1
# Chạy binary # Chạy binary
ENTRYPOINT ["gitea-mcp"] ENTRYPOINT ["gitea-mcp"]