Skip to content

Commit

Permalink
add healthcheck for midpoint_data
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey authored Sep 12, 2022
1 parent c1d8493 commit 6fd1aed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Workbench/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,12 @@ services:
- POSTGRES_USER=midpoint
- POSTGRES_INITDB_ARGS=--lc-collate=en_US.utf8 --lc-ctype=en_US.utf8
ports:
- 5432:5432
- 5432:5432
healthcheck:
test: /usr/local/bin/pg_isready
interval: 30s
timeout: 30s
retries: 3
networks:
- net
volumes:
Expand Down

0 comments on commit 6fd1aed

Please sign in to comment.