Add healthcheck
This commit is contained in:
parent
858df66558
commit
a54271d855
|
|
@ -16,3 +16,8 @@ services:
|
||||||
# Restriction of filesystem -bizMark
|
# Restriction of filesystem -bizMark
|
||||||
- /opt/proxy-manager/data:/data
|
- /opt/proxy-manager/data:/data
|
||||||
- /opt/proxy-manager/letsencrypt:/etc/letsencrypt
|
- /opt/proxy-manager/letsencrypt:/etc/letsencrypt
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "wget -q --spider http://localhost:81 || exit 1"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
Loading…
Reference in New Issue