expaso / hassos-addon-timescaledb

A HomeAssistant add-on containing PostgreSQL, psql client and TimeScaleDb
Apache License 2.0
50 stars 14 forks source link

pg_hba.conf #17

Closed melwinek closed 2 years ago

melwinek commented 2 years ago

How can I edit pg_hba.conf ?

expaso commented 2 years ago

There are 2 ways:

1) You use something like the portainer-addon or SSH access, and edit the file in the /data/postgres directory of the addon-container itself.

2) You patch the file using init-commands (see the configuration of the addons. pg_hba.conf is located in /data/postgres/ from the viewpoint of your script.

Did this answer your question?

melwinek commented 2 years ago

ok, that solves the problem