mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 23:59:03 +08:00
feat: comment db port to host (#1831)
This commit is contained in:
parent
438912700c
commit
9080ece3fb
@ -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…
x
Reference in New Issue
Block a user