radiacode_docker_usb/docker-compose.yml
2023-07-04 19:57:54 +03:00

27 lines
507 B
YAML

version: '3.7'
services:
radia:
environment:
- UDEV=1
devices:
- '/dev:/dev'
# restart: always
privileged: true
ports:
- 8080:8080
build: .
container_name: radia
volumes:
- /dev/bus/usb:/dev/bus/usb
- /run/udev/control:/run/udev/control
- ./:/app
networks:
- caddy
labels:
caddy: kyiv.dead.guru
caddy.tls: "assada+ua@gmail.com"
caddy.reverse_proxy: "{{upstreams 8080}}"
networks:
caddy:
external: true