forked from DevOps/deploy.stack
fix(memos): correct postgres volume and env setup
This commit is contained in:
@@ -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:
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user