fix: PG 18 数据卷挂载路径修正为 /var/lib/postgresql

Made-with: Cursor
This commit is contained in:
2026-03-05 23:07:13 +08:00
parent 1b85369903
commit b3f969b3a3
2 changed files with 2 additions and 44 deletions
+2 -1
View File
@@ -339,7 +339,8 @@ services:
POSTGRES_PASSWORD: ${ASG_POSTGRES_PASSWORD:-easyai2025}
POSTGRES_DB: ${ASG_POSTGRES_DB:-agent_governance}
volumes:
- asg_postgres_data:/var/lib/postgresql/data
# PG 18+ 数据目录改为 /var/lib/postgresql/18/docker,需挂载父目录 /var/lib/postgresql
- asg_postgres_data:/var/lib/postgresql
networks:
comfyai:
ipv4_address: 172.21.0.13