n8n Stack: fix db health check using wrong user
This commit is contained in:
parent
20e5e935a6
commit
df8746063e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ services:
|
||||||
- POSTGRES_DB=${DB_NAME:-n8n}
|
- POSTGRES_DB=${DB_NAME:-n8n}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready"]
|
test: ["CMD-SHELL", "pg_isready -U ${DB_USER:-n8n} -d ${DB_NAME:-n8n}"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue