-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 1.16 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
# HomeAgent Docker Stack
# RPi5: cd /opt/homeagent && docker-compose up -d
# Android: cd /data/local/tmp && docker-compose up -d
#
# 환경변수는 .env 파일에서 로드 (.env.docker.rpi5 또는 .env.docker.android)
services:
otbr:
image: openthread/otbr:latest
container_name: otbr
network_mode: host
privileged: true
devices:
- ${RCP_DEVICE:-/dev/ttyUSB0}:${RCP_DEVICE:-/dev/ttyUSB0}
volumes:
- otbr-data:/var/lib/thread
environment:
- INFRA_IF_NAME=${BACKBONE_IF:-eth0}
- NAT64=0
- DNS64=0
command: --radio-url "spinel+hdlc+uart://${RCP_DEVICE:-/dev/ttyUSB0}?uart-baudrate=${RCP_BAUDRATE:-460800}" -B ${BACKBONE_IF:-eth0}
restart: unless-stopped
matter-server:
image: ghcr.io/matter-js/python-matter-server:stable
container_name: matter-server
network_mode: host
privileged: true
depends_on:
- otbr
volumes:
- matter-data:/data
- /run/dbus:/run/dbus:ro
command:
- "--storage-path"
- "/data"
- "--port"
- "5580"
- "--bluetooth-adapter"
- "${BT_ADAPTER:-0}"
restart: unless-stopped
volumes:
otbr-data:
matter-data: