hass remote db
This commit is contained in:
@@ -23,7 +23,7 @@ in
|
||||
port = 5580;
|
||||
};
|
||||
postgresql = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
ensureDatabases = [ "hass" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
|
||||
@@ -390,7 +390,8 @@ in
|
||||
};
|
||||
|
||||
recorder = {
|
||||
db_url = "postgresql://@/hass";
|
||||
# db_url = "postgresql://@/hass"; # local DB
|
||||
db_url = "postgresql://homeassistant@10.0.1.3/homeassistant";
|
||||
purge_keep_days = 180;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user