Fix example postgres docker-compose setup in docs (#1998)

* Fix example postgres docker-compose setup in docs
Add a local volume to postgres container so changes get persisted between restarts

* Fix linked volume in postgres doc
This commit is contained in:
Sören
2023-01-08 04:21:42 +01:00
committed by GitHub
parent da5b87950f
commit 5e97c32e68
2 changed files with 5 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ services:
container_name: postgres
image: postgres
restart: always
volumes:
- mealie-pgdata:/var/lib/postgresql
environment:
POSTGRES_PASSWORD: mealie
POSTGRES_USER: mealie
@@ -62,6 +64,8 @@ services:
volumes:
mealie-data:
driver: local
mealie-pgdata:
driver: local
```
<!-- Updating This? Be Sure to also update the SQLite Annotations -->

File diff suppressed because one or more lines are too long