GitHub bot: fix linting issues (nobuild)

This commit is contained in:
github-actions
2025-07-08 12:51:53 +00:00
parent 1f8a7b770a
commit 4bf33d9f35

View File

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