Privilege up Octoprint so it can actually access the ttydevs it needs to

This commit is contained in:
Salt 2022-05-10 21:38:24 -05:00
parent 4942c42422
commit df55507c9d

View File

@ -4,8 +4,8 @@
docker_container:
name: octoprint
image: octoprint/octoprint:latest
ports:
- 80:80
privileged: yes
network_mode: host
# Uncomment all this stuff when the camera shows up
# env:
# ENABLE_MJPG_STREAMER: true
@ -13,6 +13,9 @@
# - /dev/ttyACM0:/dev/ttyACM0
# - /dev/video0:/dev/video0
volumes:
# I know this is strictly speaking a "bad thing", but this device is an
# appliance so whatever.
- /dev:/dev
- /etc/localtime:/etc/localtime:ro
- /data/octoprint:/octoprint
tags: [ docker, octoprint ]