memcached healthcheck
This commit is contained in:
parent
6225e7b237
commit
6f033b3891
@ -88,6 +88,12 @@ services:
|
||||
environment:
|
||||
SASL_CONF_PATH: "/home/memcache/memcached.conf"
|
||||
MEMCACHED_SASL_PWDB: "/home/memcache/memcached-sasl-db"
|
||||
healthcheck:
|
||||
test: ["CMD", "/bin/nc", "-z", "127.0.0.1", "11211"]
|
||||
interval: 10s
|
||||
timeout: 2s
|
||||
retries: 3
|
||||
start_period: 3s
|
||||
networks:
|
||||
- internal
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user