entrance

Ansible role that deploys my edge device with connectivity containers. Currently it deploys a thread border router via the zbt-1 dongle by Home Assistant, a zigbee2MQTT interface using the Sonoff zigbee dongle and a DSMR reader with a generic P1 to USB converter.

281 BJ2
otbr-docker-compose.yml.j2
281 B14 lines • plaintext
1services:
2  otbr:
3    image: {{ otbr_image }}
4    container_name: otbr
5    network_mode: host
6    privileged: true
7    restart: unless-stopped
8    env_file:
9      - .env
10    devices:
11      - "{{ device_paths.thread }}:/dev/ttyThread"
12    volumes:
13      - ./data/otbr:/var/lib/otbr
14