forked from DevOps/deploy.stack
fix(postgres): 修正数据卷挂载路径
This commit is contained in:
@@ -16,7 +16,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
# >=17 版本,数据目录为 /var/lib/postgresql
|
# >=17 版本,数据目录为 /var/lib/postgresql
|
||||||
# <=16 版本,数据目录为 /var/lib/postgresql/data
|
# <=16 版本,数据目录为 /var/lib/postgresql/data
|
||||||
- ${Volumes_Path}/data:/var/lib/postgresql
|
- ${Volumes_Path}:/var/lib/postgresql
|
||||||
# 时区配置
|
# 时区配置
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user