Skip to content

Commit

Permalink
fix: no restart healthcheck required in dev db
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Nov 17, 2024
1 parent 6026b4b commit 6163d56
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions backend/docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
services:
database-dev:
image: postgres
restart: always
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
- PGPORT=${DB_PORT}
- PGHOST=${DB_HOST}
healthcheck:
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "${POSTGRES_DB}"]
interval: 5s
timeout: 3s
retries: 20
ports:
- ${DB_PORT}:${DB_PORT}

0 comments on commit 6163d56

Please sign in to comment.