Skip to content

Commit 6163d56

Browse files
fix: no restart healthcheck required in dev db
1 parent 6026b4b commit 6163d56

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

backend/docker-compose.dev.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
services:
22
database-dev:
33
image: postgres
4-
restart: always
54
environment:
65
- POSTGRES_USER=${DB_USER}
76
- POSTGRES_PASSWORD=${DB_PASSWORD}
87
- POSTGRES_DB=${DB_NAME}
98
- PGPORT=${DB_PORT}
109
- PGHOST=${DB_HOST}
11-
healthcheck:
12-
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "${POSTGRES_DB}"]
13-
interval: 5s
14-
timeout: 3s
15-
retries: 20
1610
ports:
1711
- ${DB_PORT}:${DB_PORT}

0 commit comments

Comments
 (0)