Skip to content

Commit 7bd741e

Browse files
committed
Add Homeasistant config.
1 parent faac651 commit 7bd741e

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
# Loads default set of integrations. Do not remove.
3+
default_config:
4+
5+
# Load frontend themes from the themes folder
6+
frontend:
7+
themes: !include_dir_merge_named themes
8+
9+
automation: !include automations.yaml
10+
script: !include scripts.yaml
11+
scene: !include scenes.yaml
12+
sensor: !include sensor.yaml
13+
group: !include groups.yaml
14+
http:
15+
#server_host: 127.0.0.1
16+
use_x_forwarded_for: true
17+
trusted_proxies: 172.21.0.0/24

homeassistant/docker-compose.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
services:
2+
homeassistant:
3+
container_name: homeassistant
4+
image: "ghcr.io/home-assistant/home-assistant:stable"
5+
environment:
6+
FORCE_COLOR: 0
7+
volumes:
8+
- ./config:/config
9+
- /etc/localtime:/etc/localtime:ro
10+
- /run/dbus:/run/dbus:ro
11+
restart: unless-stopped
12+
privileged: true
13+
network_mode: host
14+
labels:
15+
caddy: "ha.{env.CADDY_HOST}"
16+
caddy.import: norobots
17+
[email protected]: User-Agent "Gatus*"
18+
19+
caddy.log_skip: "@gatus"
20+
caddy.reverse_proxy: "host.docker.internal:8123"

0 commit comments

Comments
 (0)