feat: comment db port to host (#1831)

This commit is contained in:
takatost 2023-12-24 15:43:43 +08:00 committed by GitHub
parent 438912700c
commit 9080ece3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,8 +228,9 @@ services:
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- ./volumes/db/data:/var/lib/postgresql/data
ports:
- "5432:5432"
# uncomment to expose db(postgresql) port to host
# ports:
# - "5432:5432"
healthcheck:
test: ["CMD", "pg_isready"]
interval: 1s