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 authored and GitHub committed 2023-01-07 18:21:42 -09:00
1 parent da5b87950f
commit 5e97c32e68
2 files changed
+5 -1

No files matched your search

@@ -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 -->