Skip to content

Aaltuj/octoprint-docker-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Octoprint with mjpg-streamer support | Docker based

  1. open terminal
  2. clone this repo git clone https://github.com/Aaltuj/octoprint-docker-setup.git
  3. cd into cd octoprint-docker-setup
  4. run docker-compose up -d
  5. after some minutes octoprint is running on http://{LOCALHOST or HOSTNAME}:5000 and mjpg-streamer on https://{LOCALHOST or HOSTNAME}:8080/?action=stream
  6. Navigate to http://{LOCALHOST or HOSTNAME}:5000 and fill out the welcome wizard
  7. When arrived at the webcam part fillout the following values:
  • Stream URL: http://{IP or HOSTNAME}:8080/?action=stream
  • Snapshot URL: http://{IP or HOSTNAME}:8080/?action=snapshot
  • Path to FFMPEG: /opt/ffmpeg/ffmpeg

TIP: use docker inspect {container-name of mjp-stream} to find the IP adress for the snapshot url

Start Octoprint and mjpg-streamer on boot

  1. Add docker to systemctl by running: sudo systemctl enable docker
  2. run docker-compose up -d once in the clone repo location

you should now have a working Octoprint with webcam support. Don't forget to update the usb devices and webcam locations when necessary

TESTED ON A RASPBERRY PI 2 B with Ubuntu server

About

A 'out of the box working' solution for running Octoprint with mjpg-streamer webcam support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published