Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 0319dcc

Browse files
fix small issue in docker composes
1 parent 50495ea commit 0319dcc

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

compose.override.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818

1919
postgresdb:
2020
ports:
21-
- ${POSTGRES_PORT}:${POSTGRES_PORT}
21+
- ${DB_PORT}:${DB_PORT}
2222

2323
falak:
2424
build:

compose.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,7 @@ services:
1616
- POSTGRES_PASSWORD=${DB_PASSWORD}
1717
- POSTGRES_DB=${DB_NAME}
1818
healthcheck:
19-
test:
20-
[
21-
"CMD",
22-
"pg_isready",
23-
"-q",
24-
"-d",
25-
"${POSTGRES_DB}",
26-
"-U",
27-
"${POSTGRES_USER}",
28-
]
19+
test: ["CMD", "pg_isready", "-q", "-d", "${DB_NAME}", "-U", "${DB_USER}"]
2920
interval: 5s
3021
timeout: 5s
3122
retries: 5

0 commit comments

Comments
 (0)