From af3061ad44365fc77564af62ceb94e3476d4885c Mon Sep 17 00:00:00 2001 From: tbphp Date: Tue, 15 Jul 2025 14:59:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4docker=20compose=20y?= =?UTF-8?q?ml=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6879519..f9c3951 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,14 +10,14 @@ services: env_file: - .env restart: always - stop_grace_period: ${SERVER_GRACEFUL_SHUTDOWN_TIMEOUT:-60}s + stop_grace_period: ${SERVER_GRACEFUL_SHUTDOWN_TIMEOUT:-10}s depends_on: mysql: condition: service_healthy redis: condition: service_healthy healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:3000/health"] + test: ["CMD", "curl", "-f", "http://localhost:${PORT:-3001}/health"] interval: 30s timeout: 10s retries: 3