mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
Update healthcheck commands in docker-compose.yml
This commit is contained in:
parent
8f202b575e
commit
05c520b740
1 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ services:
|
|||
- POSTGRES_PASSWORD=learnhouse
|
||||
- POSTGRES_DB=learnhouse
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
test: ["CMD-SHELL", "pg_isready -U learnhouse"]
|
||||
interval: 5s
|
||||
timeout: 4s
|
||||
retries: 5
|
||||
|
|
@ -34,7 +34,7 @@ services:
|
|||
ports:
|
||||
- "6379:6379"
|
||||
healthcheck:
|
||||
test: [ "CMD", "redis-cli", "ping" ]
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 5s
|
||||
timeout: 4s
|
||||
retries: 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue