diff --git a/compose.jiangling.yml b/compose.jiangling.yml index f3d9f8ac..d7ec45c0 100644 --- a/compose.jiangling.yml +++ b/compose.jiangling.yml @@ -106,7 +106,9 @@ services: healthcheck: test: - "CMD-SHELL" - - "runuser -u www-data -- php artisan app:ready --quiet && curl -fsS -o /dev/null http://127.0.0.1:18088/" + # app:ready 验证 Laravel 与数据库;静态资源探针验证 Apache。 + # 不请求动态页面,避免健康检查被应用防火墙按高频访问误拦截。 + - "runuser -u www-data -- php artisan app:ready --quiet && curl -fsS -o /dev/null http://127.0.0.1:18088/serviceworker.js" interval: 15s timeout: 5s retries: 10