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:
parent
da5b87950f
commit
5e97c32e68
2 changed files with 5 additions and 1 deletions
|
@ -55,6 +55,8 @@ services:
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
image: postgres
|
image: postgres
|
||||||
restart: always
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- mealie-pgdata:/var/lib/postgresql
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: mealie
|
POSTGRES_PASSWORD: mealie
|
||||||
POSTGRES_USER: mealie
|
POSTGRES_USER: mealie
|
||||||
|
@ -62,6 +64,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
mealie-data:
|
mealie-data:
|
||||||
driver: local
|
driver: local
|
||||||
|
mealie-pgdata:
|
||||||
|
driver: local
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- Updating This? Be Sure to also update the SQLite Annotations -->
|
<!-- Updating This? Be Sure to also update the SQLite Annotations -->
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue