From e0003490b32f91cd6362717e17bc51255352a861 Mon Sep 17 00:00:00 2001 From: Jose Selesan Date: Mon, 19 Oct 2026 09:32:13 -0300 Subject: [PATCH] Updated healthcheck --- docker-compose.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 019d154..3edf9c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: