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