fix(memos): correct postgres volume and env setup

This commit is contained in:
2026-06-19 16:40:45 +08:00
parent c55d90040c
commit c06984a268
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -28,11 +28,12 @@ services:
- POSTGRES_HOST_AUTH_METHOD=scram-sha-256
- TZ=Asia/Shanghai
volumes:
# Postgres 数据持久化(具名卷 pgsql_data)
- pgsql_data:/var/lib/postgresql/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "${PGSQL_PORT:-15432}:5432"
- "${DB_POST:-15432}:5432"
healthcheck:
test:
[