Privilege up Octoprint so it can actually access the ttydevs it needs to
This commit is contained in:
parent
4942c42422
commit
df55507c9d
@ -4,8 +4,8 @@
|
|||||||
docker_container:
|
docker_container:
|
||||||
name: octoprint
|
name: octoprint
|
||||||
image: octoprint/octoprint:latest
|
image: octoprint/octoprint:latest
|
||||||
ports:
|
privileged: yes
|
||||||
- 80:80
|
network_mode: host
|
||||||
# Uncomment all this stuff when the camera shows up
|
# Uncomment all this stuff when the camera shows up
|
||||||
# env:
|
# env:
|
||||||
# ENABLE_MJPG_STREAMER: true
|
# ENABLE_MJPG_STREAMER: true
|
||||||
@ -13,6 +13,9 @@
|
|||||||
# - /dev/ttyACM0:/dev/ttyACM0
|
# - /dev/ttyACM0:/dev/ttyACM0
|
||||||
# - /dev/video0:/dev/video0
|
# - /dev/video0:/dev/video0
|
||||||
volumes:
|
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
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /data/octoprint:/octoprint
|
- /data/octoprint:/octoprint
|
||||||
tags: [ docker, octoprint ]
|
tags: [ docker, octoprint ]
|
||||||
|
Loading…
Reference in New Issue
Block a user