Files
pyMC_Repeater/docker-compose.yml
T
2026-05-18 13:25:23 -04:00

27 lines
609 B
YAML

services:
pymc-repeater:
build:
context: .
args:
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
container_name: pymc-repeater
restart: unless-stopped
ports:
- 8000:8000
devices:
# SPI DEVICES (Your path may differ)
- /dev/spidev0.0
- /dev/gpiochip0
# USB DEVICES (Your path may differ)
- /dev/bus/usb/002:/dev/bus/usb/002
# SPI DEVICES PERMISSIONS
cap_add:
- SYS_RAWIO
# USB DEVICSE PERMISSIONS
group_add:
- plugdev
volumes:
- ./config:/etc/pymc_repeater
- ./data:/var/lib/pymc_repeater