nix-config/hosts/franz/arion/smarthome/arion-compose.nix
GHOSCHT 857a925476
Add custom video backup & bump arion
videos which are so precious they are hard to get in case of a system
failure

Arion: Bump auth

Arion: Bump dashboard

Arion: Bump DNS

Arion: Bump git

Arion: Bump infrastructure

Arion: Bump media

Arion: Bump minio

Arion: Bump nextcloud

Arion: Bump

bump
2024-12-21 16:11:30 +01:00

34 lines
1 KiB
Nix

{
project.name = "smarthome";
networks.dmz = {
name = "dmz";
external = true;
};
services = {
homeassistant.service = {
image = "ghcr.io/home-assistant/home-assistant:2024.12.5";
container_name = "homeassistant";
privileged = true;
labels = {
"traefik.enable" = "true";
"traefik.http.routers.homeassistant.entrypoints" = "websecure";
"traefik.http.routers.homeassistant.rule" = "Host(`home.ghoscht.com`)";
"traefik.http.routers.homeassistant.tls" = "true";
"traefik.http.routers.homeassistant.tls.certresolver" = "letsencrypt";
"traefik.http.services.homeassistant.loadbalancer.server.port" = "8123";
# "traefik.http.routers.homeassistant.middlewares" = "authentik@file";
};
volumes = [
"/home/ghoscht/.docker/smarthome/homeassistant_data:/config"
"/etc/localtime:/etc/localtime:ro"
"/run/dbus:/run/dbus:ro"
];
restart = "always";
networks = [
"dmz"
];
};
};
}