mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -34,6 +34,7 @@ default user: `postgres`
|
|||||||
password: `set by POSTGRES_PASSWORD`
|
password: `set by POSTGRES_PASSWORD`
|
||||||
|
|
||||||
You can configure this options:
|
You can configure this options:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
POSTGRES_PASSWORD
|
POSTGRES_PASSWORD
|
||||||
POSTGRES_USER
|
POSTGRES_USER
|
||||||
@@ -41,6 +42,7 @@ POSTGRES_DB
|
|||||||
POSTGRES_INITDB_ARGS
|
POSTGRES_INITDB_ARGS
|
||||||
POSTGRES_HOST_AUTH_METHOD
|
POSTGRES_HOST_AUTH_METHOD
|
||||||
```
|
```
|
||||||
|
|
||||||
For more info check [base image docs](https://hub.docker.com/_/postgres).
|
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/).
|
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`
|
1. Use any Postgres client to connect, e.g. to `homeassistant.local:5432`
|
||||||
|
|
||||||
Migration from postgres 15 :
|
Migration from postgres 15 :
|
||||||
|
|
||||||
- stop the postgres 15 addon
|
- 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
|
- 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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user