fix(service): cloudreve doesn't persist data across restarts (#8740)
This commit is contained in:
commit
66efcaf352
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ services:
|
|||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
||||
- POSTGRES_DB=${POSTGRES_DB:-cloudreve-db}
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
- postgres-data:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 10s
|
||||
|
|
|
|||
Loading…
Reference in a new issue