mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
docs: Add notes for running Postgres Docker on Windows WSL2 Ubuntu … (#5373)
This commit is contained in:
parent
7d5ebbb611
commit
fad36d0cfd
|
@ -387,6 +387,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
|
||||||
|
# notice!: if you use windows-wsl2, postgres may not work properly due to the ntfs issue.you can use volumes to mount the data directory to the host.
|
||||||
|
# if you use the following config, you need to uncomment the volumes configuration below at the end of the file.
|
||||||
|
# - postgres:/var/lib/postgresql/data
|
||||||
# uncomment to expose db(postgresql) port to host
|
# uncomment to expose db(postgresql) port to host
|
||||||
# ports:
|
# ports:
|
||||||
# - "5432:5432"
|
# - "5432:5432"
|
||||||
|
@ -524,6 +527,9 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
#- "443:443"
|
#- "443:443"
|
||||||
|
# notice: if you use windows-wsl2, postgres may not work properly due to the ntfs issue.you can use volumes to mount the data directory to the host.
|
||||||
|
# volumes:
|
||||||
|
# postgres:
|
||||||
networks:
|
networks:
|
||||||
# create a network between sandbox, api and ssrf_proxy, and can not access outside.
|
# create a network between sandbox, api and ssrf_proxy, and can not access outside.
|
||||||
ssrf_proxy_network:
|
ssrf_proxy_network:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user