diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0a78f0e..46b4b00 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -50,11 +50,11 @@ services: networks: - mopc-network healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:7600/api/health"] + test: ["CMD", "node", "-e", "fetch('http://localhost:7600/api/health').then(r=>{if(!r.ok)throw r;process.exit(0)}).catch(()=>process.exit(1))"] interval: 30s timeout: 10s retries: 3 - start_period: 40s + start_period: 60s postgres: image: postgres:16-alpine