-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
45 lines (43 loc) · 1.13 KB
/
docker-compose.yml
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
services:
otbr:
container_name: otbr
image: ghcr.io/ownbee/hass-otbr-docker
restart: unless-stopped
privileged: true # don't change this !
network_mode: host # don't change this !
cap_add:
- SYS_ADMIN
- NET_ADMIN
environment:
DEVICE: "/dev/ttyUSB1"
BACKBONE_IF: enp3s0
FLOW_CONTROL: 1
FIREWALL: 1
NAT64: 1
BAUDRATE: 460800
OTBR_REST_PORT: 8081
OTBR_WEB_PORT: 7586
AUTOFLASH_FIRMWARE: 0
devices:
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/net/tun:/dev/net/tun
volumes:
- ./otbr_data:/var/lib/thread
matter-server:
image: ghcr.io/home-assistant-libs/python-matter-server:stable
container_name: matter-server
restart: unless-stopped
network_mode: host
privileged: true
security_opt:
- apparmor:unconfined
volumes:
- ./matter_data:/data/
- /run/dbus:/run/dbus:ro # For bluetooth
- /etc/localtime:/etc/localtime:ro
command: >
--storage-path /data
--paa-root-cert-dir /data/credentials
--bluetooth-adapter 0
--log-level-sdk progress
--primary-interface enp3s0