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