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