https://www.reddit.com/r/docker/comments/nb6tsy/exposing_usb_device_to_containers/gxy6j7u?utm_medium=android_app&utm_source=share&context=3
Example from my compose file:
homeassistant: container_name: homeassistant devices: - /dev/ttyUSB0:/dev/ttyUSB0 - /dev/ttyUSB1:/dev/ttyUSB1