From 5e97c32e68c0d9d42fa24c00e9e5728d7410fe02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren?= Date: Sun, 8 Jan 2023 04:21:42 +0100 Subject: [PATCH] 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 --- .../documentation/getting-started/installation/postgres.md | 4 ++++ docs/docs/overrides/api.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docs/documentation/getting-started/installation/postgres.md b/docs/docs/documentation/getting-started/installation/postgres.md index cc659389fabf..058ef3560d51 100644 --- a/docs/docs/documentation/getting-started/installation/postgres.md +++ b/docs/docs/documentation/getting-started/installation/postgres.md @@ -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 ``` diff --git a/docs/docs/overrides/api.html b/docs/docs/overrides/api.html index 0ad2bc79dfb2..2fd24048046e 100644 --- a/docs/docs/overrides/api.html +++ b/docs/docs/overrides/api.html @@ -14,7 +14,7 @@