fix(postgres): 修正数据卷挂载路径

This commit is contained in:
cnphpbb
2026-09-20 23:07:27 +08:00
parent 3ab4d9fdb4
commit cc215adc00
+1 -1
View File
@@ -16,7 +16,7 @@ services:
volumes:
# >=17 版本,数据目录为 /var/lib/postgresql
# <=16 版本,数据目录为 /var/lib/postgresql/data
- ${Volumes_Path}/data:/var/lib/postgresql
- ${Volumes_Path}:/var/lib/postgresql
# 时区配置
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro