Skip to content

Commit 315a98c

Browse files
committed
fix: Added pgsql healthcheck!
1 parent 764f2e1 commit 315a98c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ services:
7373
environment:
7474
POSTGRES_PASSWORD: temporal
7575
POSTGRES_USER: temporal
76+
healthcheck:
77+
test: ["CMD-SHELL", "pg_isready -U temporal"]
78+
interval: 10s
79+
timeout: 5s
80+
retries: 5
7681
networks:
7782
- temporal-network
7883

0 commit comments

Comments
 (0)