-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
44 lines (42 loc) · 1.61 KB
/
compose.yaml
File metadata and controls
44 lines (42 loc) · 1.61 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
# KEF W2 Speaker Controller UI
services:
kefw2ui:
build: .
image: ghcr.io/hilli/kefw2ui:latest
container_name: kefw2ui
ports:
- "8080:8080"
volumes:
# Share config with CLI - adjust path for your OS
# Linux: ~/.config/kefw2
# macOS: ~/Library/Application Support/kefw2
#- ${HOME}/.config/kefw2:/home/kefw2ui/.config/kefw2
#- ${HOME}/Library/Application Support/kefw2:/home/kefw2ui/.config/kefw2
# Persist config (.config/kefw2) and cache (.cache/kefw2) across restarts
- kefw2ui-state:/home/kefw2ui
# Tailscale state persistence (only needed when TS_ENABLED=true)
- tailscale-state:/data/tailscale
# network_mode: host is required for mDNS speaker discovery.
# If you use KEFW2UI_SPEAKER_IPS with KEFW2UI_NO_DISCOVERY=true,
# you can remove network_mode: host and use the ports: mapping instead.
# You should definatly not use it with docker on MacOS
# network_mode: host
restart: unless-stopped
environment:
- TZ=${TZ:-UTC}
# - KEFW2UI_PORT=8080
# - KEFW2UI_BIND=0.0.0.0
# Speaker IPs (comma-separated, use with KEFW2UI_NO_DISCOVERY to skip mDNS)
- KEFW2UI_SPEAKER_IPS=10.0.0.149,10.0.0.93
- KEFW2UI_NO_DISCOVERY=true
# Image cache: disk TTL (0 = never expire, default 7d) and memory cap in MB
# - KEFW2UI_IMAGE_CACHE_TTL=7d
# - KEFW2UI_IMAGE_CACHE_MEM_MB=50
# Tailscale (uncomment to enable)
# - TS_ENABLED=true
# - TS_HOSTNAME=kefw2ui
# - TS_AUTHKEY=tskey-auth-xxxxx
# - TS_STATE_DIR=/data/tailscale
volumes:
kefw2ui-state:
tailscale-state: