reinstalled homeassistant as oci container

This commit is contained in:
2024-11-28 12:05:20 -06:00
parent f0af39b19a
commit 657dbc4642
4 changed files with 16 additions and 12 deletions

View File

@@ -262,7 +262,7 @@
gitlab.enable = true;
homeassistant.enable = false;
homeassistant.enable = true;
ntfy.enable = true;
};

View File

@@ -10,6 +10,8 @@
virtualisation.oci-containers = {
backend = "docker";
containers.homeassistant = {
autoStart = true;
ports = [ "8123:8123" ];
volumes = [
"/ssd1/Home-Assistant/data:/config"
"/run/dbus:/run/dbus:ro"

View File

@@ -147,9 +147,9 @@
tls.certResolver = "cloudflare";
};
homeassistant = {
entryPoints = [ "localsecure" "websecure" ];
entryPoints = [ "websecure" ];
rule = "Host(`hass.blunkall.us`)";
service = "homepage";
service = "homeassistant";
tls.certResolver = "cloudflare";
};
jellyfin = {
@@ -248,6 +248,8 @@
nextcloud.loadBalancer.servers = [ { url = "http://192.168.100.15:80"; } ];
ntfy.loadBalancer.servers = [ { url = "http://192.168.100.19"; } ];
homeassistant.loadBalancer.servers = [ { url = "http://192.168.100.10:8123"; } ];
};
};
};