mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 17:44:20 -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:
|
ports:
|
||||||
- 7800:7800
|
- 7800:7800
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: kartoza/postgis:13-3.1
|
image: kartoza/postgis:13-3.1
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -25,10 +26,11 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 5434:5432
|
- 5434:5432
|
||||||
healthcheck:
|
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
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
|
Loading…
Add table
Reference in a new issue