feat: comment db port to host (#1831)
This commit is contained in:
parent
438912700c
commit
9080ece3fb
1 changed files with 3 additions and 2 deletions
|
|
@ -228,8 +228,9 @@ services:
|
||||||
PGDATA: /var/lib/postgresql/data/pgdata
|
PGDATA: /var/lib/postgresql/data/pgdata
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/db/data:/var/lib/postgresql/data
|
- ./volumes/db/data:/var/lib/postgresql/data
|
||||||
ports:
|
# uncomment to expose db(postgresql) port to host
|
||||||
- "5432:5432"
|
# ports:
|
||||||
|
# - "5432:5432"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "pg_isready"]
|
test: ["CMD", "pg_isready"]
|
||||||
interval: 1s
|
interval: 1s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue