mirror of
https://github.com/acepanel/templates.git
synced 2026-02-04 06:17:13 +08:00
feat: 添加健康检查
This commit is contained in:
@@ -7,6 +7,12 @@ services:
|
||||
environment:
|
||||
- HIDE_PHP_VERSION=true
|
||||
- PMA_ARBITRARY=1
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
networks:
|
||||
- acepanel-network
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user