This commit is contained in:
mjallen18
2026-03-20 18:24:51 -05:00
parent 27790713be
commit 6f77344d42
13 changed files with 350 additions and 365 deletions

View File

@@ -357,8 +357,8 @@ in
};
recorder = {
# db_url = "postgresql://@/hass"; # local DB
db_url = "postgresql://homeassistant@10.0.1.3/homeassistant";
# Connect via Unix socket — peer auth via identMap maps OS user 'hass' → DB user 'homeassistant'.
db_url = "postgresql://homeassistant@/homeassistant?host=/run/postgresql";
purge_keep_days = 180;
};