Add healthcheck
This commit is contained in:
parent
5594c484d6
commit
4c23ceafca
@ -10,7 +10,10 @@ services:
|
||||
- '6022:6022'
|
||||
- '7835:7835'
|
||||
healthcheck:
|
||||
test: ["CMD", "/bin/sh", "-c", "exit 0"]
|
||||
test: ["CMD", "nc", "-z", "127.0.0.1", "7835"]
|
||||
interval: 1s
|
||||
timeout: 10s
|
||||
retries: 15
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.gzip.compress=true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user