Optimized healthcheck timings
1s faster interval (to increase retry speed on faster systems), 1s shorter timeout (since it db should react in a lot less than 1s), increased retries to 12 total so all adds up to 60s of potential retry-time for older systems (e.g. RPI 3)
This commit is contained in:
@ -11,9 +11,9 @@ services:
|
||||
- default
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "psql -U $$POSTGRES_USER -d $$POSTGRES_DB --list || exit 1"]
|
||||
interval: 5s
|
||||
timeout: 2s
|
||||
retries: 5
|
||||
interval: 4s
|
||||
timeout: 1s
|
||||
retries: 12
|
||||
|
||||
web_recipes:
|
||||
image: vabene1111/recipes
|
||||
|
Reference in New Issue
Block a user