mirror of
https://github.com/rightup/pyMC_Repeater.git
synced 2026-03-28 17:43:06 +01:00
rework of docker its ALIVE disable :ro tag for config.yaml leave empty line lets open ports instead of network mode host run as current user run as user nevermind update readme with instructions relocate docker section
16 lines
325 B
YAML
16 lines
325 B
YAML
services:
|
|
pymc-repeater:
|
|
build: .
|
|
container_name: pymc-repeater
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8000:8000
|
|
devices:
|
|
- /dev/spidev0.0
|
|
- /dev/gpiochip0
|
|
cap_add:
|
|
- SYS_RAWIO
|
|
volumes:
|
|
- ./config.yaml:/etc/pymc_repeater/config.yaml
|
|
- ./data:/var/lib/pymc_repeater
|