gitea-mcp healcheck
This commit is contained in:
@@ -33,5 +33,11 @@ RUN chmod +x /usr/local/bin/gitea-mcp
|
||||
# Cấu hình thư mục log
|
||||
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
|
||||
ENTRYPOINT ["gitea-mcp"]
|
||||
Reference in New Issue
Block a user