mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 01:31:25 -08:00
Fix 'Peer authentication failed' error flooding in pg_isready (#59)
This commit is contained in:
parent
7ffb8cf2e9
commit
0a2ab57e76
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,7 @@ services:
|
|||
ports:
|
||||
- 7800:7800
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
image: kartoza/postgis:13-3.1
|
||||
volumes:
|
||||
|
@ -25,10 +26,11 @@ services:
|
|||
ports:
|
||||
- 5434:5432
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U map_dev_user -d map_dev"]
|
||||
test: ["CMD-SHELL", "pg_isready -h db -U map_dev_user -d map_dev"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
|
|
Loading…
Add table
Reference in a new issue