From 4bf33d9f35f56ac013df0a6bf505e0eb9d995729 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Jul 2025 12:51:53 +0000 Subject: [PATCH] GitHub bot: fix linting issues (nobuild) --- postgres_17/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postgres_17/README.md b/postgres_17/README.md index cf1f25eb8..26a2002f2 100644 --- a/postgres_17/README.md +++ b/postgres_17/README.md @@ -34,6 +34,7 @@ default user: `postgres` password: `set by POSTGRES_PASSWORD` You can configure this options: + ```yaml POSTGRES_PASSWORD POSTGRES_USER @@ -41,6 +42,7 @@ POSTGRES_DB POSTGRES_INITDB_ARGS POSTGRES_HOST_AUTH_METHOD ``` + For more info check [base image docs](https://hub.docker.com/_/postgres). By default `postgresql.conf` is stored in volume accessible by other addons and Home Assistant, so you can conviniently modify it by e.g. File Editor addon. If you prefer better security change `CONFIG_LOCATION` to e.g. `/data/orig/postgresql.conf`, so it will be acessible only to this addon, but you will have to modify it by the [Hassio SSH](https://developers.home-assistant.io/docs/operating-system/debugging/). @@ -59,6 +61,7 @@ The installation of this add-on is pretty straightforward and not different in c 1. Use any Postgres client to connect, e.g. to `homeassistant.local:5432` Migration from postgres 15 : + - stop the postgres 15 addon - use the Filebrowser addon to copy the database folder from /addon_configs/xxx-postgres to /addon_configs/xxx-postgres_latest - start the postgres 17 addon. Upgrade of the database should proceed. In case it doesn't, your data is anyway safe in the postgres 15 addon