add octoprint compose file

This commit is contained in:
Mika Bomm 2025-01-02 15:25:13 +01:00
parent edffb5e020
commit c113429c48
2 changed files with 19 additions and 0 deletions

0
octoprint/.env.example Normal file
View file

19
octoprint/compose.yml Normal file
View file

@ -0,0 +1,19 @@
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: