19 lines
521 B
YAML
19 lines
521 B
YAML
|
services:
|
||
|
octoprint:
|
||
|
image: octoprint/octoprint
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- 2232:80
|
||
|
# devices:
|
||
|
# use `python -m serial.tools.miniterm` to see what the name is of the printer, this requires pyserial
|
||
|
# - /dev/ttyACM0:/dev/ttyACM0
|
||
|
# - /dev/video0:/dev/video0
|
||
|
volumes:
|
||
|
- octoprint:/octoprint
|
||
|
# uncomment the lines below to ensure camera streaming is enabled when
|
||
|
# you add a video device
|
||
|
#environment:
|
||
|
# - ENABLE_MJPG_STREAMER=true
|
||
|
|
||
|
volumes:
|
||
|
octoprint:
|