Skip to content

Commit

Permalink
Hotfix: Postgresql healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed Jul 6, 2024
1 parent 3274715 commit 2632e20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,19 @@ services:
image: postgres:15.4
env_file:
- .envs/.example
environment:
PGUSER: jandig
command: postgres -c max_connections=10000
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "jandig"]
interval: 3s
interval: 5s
timeout: 60s
retries: 20
start_interval: 5s

storage:
image: minio/minio:latest
Expand Down

0 comments on commit 2632e20

Please sign in to comment.