diff --git a/fighter/config/home-assistant/.env b/fighter/config/home-assistant/.env new file mode 100644 index 0000000..2cebbe0 --- /dev/null +++ b/fighter/config/home-assistant/.env @@ -0,0 +1 @@ +DOCKER_DATA=/mnt/iscsi/home-assistant \ No newline at end of file diff --git a/fighter/config/home-assistant/docker-compose.yml b/fighter/config/home-assistant/docker-compose.yml new file mode 100644 index 0000000..ade95fe --- /dev/null +++ b/fighter/config/home-assistant/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.9' +services: + home-assistant: + image: lscr.io/linuxserver/homeassistant:latest + container_name: home-assistant_home-assistant + env_file: + - home-assistant.env + networks: + - web + volumes: + - $DOCKER_DATA:/config + labels: + - traefik.http.routers.home-assistant.rule=Host(`homeassistant.jafner.net`) + - traefik.http.routers.home-assistant.tls.certresolver=lets-encrypt + +networks: + web: + external: true \ No newline at end of file diff --git a/fighter/config/home-assistant/home-assistant.env b/fighter/config/home-assistant/home-assistant.env new file mode 100644 index 0000000..8f9f9f4 --- /dev/null +++ b/fighter/config/home-assistant/home-assistant.env @@ -0,0 +1,3 @@ +TZ=America/Los_Angeles +PUID=1001 +PGID=1001 \ No newline at end of file