Updated healthcheck

This commit is contained in:
Jose Selesan
2026-10-19 09:32:13 -03:00
parent 9e16dc1c81
commit e0003490b3

View File

@@ -24,18 +24,18 @@ services:
- "4100" - "4100"
networks: networks:
- dokploy-network - dokploy-network
# healthcheck: healthcheck:
# test: test:
# [ [
# "CMD", "CMD",
# "bun", "bun",
# "-e", "-e",
# "fetch(`http://localhost:${PORT:-4100}/api/health`).then((r) => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))", "fetch(`http://localhost:${PORT:-4100}/api/health`).then((r) => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))",
# ] ]
# interval: 10s interval: 10s
# timeout: 5s timeout: 5s
# retries: 5 retries: 5
# start_period: 30s start_period: 30s
web: web:
build: build: