Skip to content

Commit

Permalink
Fix example postgres docker-compose setup in docs (#1998)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
fleshgolem authored Jan 8, 2023
1 parent da5b879 commit 5e97c32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,17 @@ services:
container_name: postgres
image: postgres
restart: always
volumes:
- mealie-pgdata:/var/lib/postgresql
environment:
POSTGRES_PASSWORD: mealie
POSTGRES_USER: mealie

volumes:
mealie-data:
driver: local
mealie-pgdata:
driver: local
```
<!-- Updating This? Be Sure to also update the SQLite Annotations -->
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/overrides/api.html

Large diffs are not rendered by default.

0 comments on commit 5e97c32

Please sign in to comment.