mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 05:13:01 +03:00
feat: distroless container additional variant + healthcheck command (#716)
This commit is contained in:
committed by
GitHub
parent
81315790a8
commit
1a41b05f60
@@ -9,8 +9,8 @@ services:
|
||||
- "./data:/app/data"
|
||||
# Optional healthcheck
|
||||
healthcheck:
|
||||
test: "curl -f http://localhost:1411/healthz"
|
||||
test: [ "CMD", "/app/pocket-id", "healthcheck" ]
|
||||
interval: 1m30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
start_period: 10s
|
||||
start_period: 10s
|
||||
|
||||
Reference in New Issue
Block a user