feat(lldap): add container healthcheck
- Add healthcheck using wget to /health endpoint - Set interval: 30s, timeout: 3s, retries: 3, start_period: 10s
This commit is contained in:
parent
3e0e97a00c
commit
6837683608
1 changed files with 10 additions and 0 deletions
|
|
@ -14,6 +14,16 @@ services:
|
|||
networks:
|
||||
- proxy
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
tmpfs:
|
||||
- /tmp:noexec,nosuid,size=50m
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:17170/health"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
volumes:
|
||||
lldap_data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue