Init home assistant
This commit is contained in:
parent
7ec6f6cd33
commit
8ea71bd93e
1
fighter/config/home-assistant/.env
Normal file
1
fighter/config/home-assistant/.env
Normal file
@ -0,0 +1 @@
|
||||
DOCKER_DATA=/mnt/iscsi/home-assistant
|
18
fighter/config/home-assistant/docker-compose.yml
Normal file
18
fighter/config/home-assistant/docker-compose.yml
Normal file
@ -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
|
3
fighter/config/home-assistant/home-assistant.env
Normal file
3
fighter/config/home-assistant/home-assistant.env
Normal file
@ -0,0 +1,3 @@
|
||||
TZ=America/Los_Angeles
|
||||
PUID=1001
|
||||
PGID=1001
|
Loading…
Reference in New Issue
Block a user