-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
50 lines (42 loc) · 1.38 KB
/
compose.yaml
File metadata and controls
50 lines (42 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: home-assistant
x-daemonless:
title: "Home Assistant"
icon: ":material-apps:"
category: "Utilities"
description: "Open source home automation that puts local control and privacy first."
upstream_url: "https://github.com/daemonless/home-assistant"
web_url: "https://www.home-assistant.io/"
user: "bsd"
mlock: false
docs: manual
appjail:
director:
options:
- "alias:" # Required for discovery (host-like networking)
- "ip4_inherit:" # Required for discovery (host-like networking)
annotations:
org.freebsd.jail.allow.raw_sockets: "true" # required for DHCP/BPF device discovery
docs:
env:
PUID: "User ID for the application process"
PGID: "Group ID for the application process"
TZ: "Timezone for the container"
volumes:
/config: "Configuration directory"
ports:
8123: "Web UI"
services:
home-assistant:
image: ghcr.io/daemonless/home-assistant:latest
container_name: home-assistant
restart: unless-stopped
network_mode: host # required for mDNS/Zeroconf device discovery
annotations:
org.freebsd.jail.allow.raw_sockets: "true" # required for DHCP device discovery
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
volumes:
- /path/to/containers/home-assistant:/config
# ports: not used with network_mode: host (HA listens on 8123)