From 1ef1429466031311d6311eab3eff3a606c3f7cc0 Mon Sep 17 00:00:00 2001 From: Lucas Rayan Guerra Date: Fri, 10 Jul 2026 16:42:36 -0300 Subject: [PATCH] Update healthcheck and port mapping in docker-compose --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 69360ec..f0cb431 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,10 +2,10 @@ services: pss: build: . ports: - - "${PORT:-3000}" + - "${PORT:-3000}:80" restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:3001/health"] + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/health"] interval: 30s timeout: 10s retries: 3