mkuf / prind

print in docker - Deploy a containerized Klipper Stack for your 3D Printer
GNU General Public License v3.0
324 stars 82 forks source link

How do I run this without a webcam? #103

Closed InfiniteCoder01 closed 9 months ago

InfiniteCoder01 commented 9 months ago

If I just comment services section out in docker-compose.override.yaml, some weird errors pop up... Might be not because of webcam, but to be sure, what is the intended way?

mkuf commented 9 months ago

Hi there,

if you do not wish to override any other service, you can simply remove the override file all together.

If you wish to keep the file just in case and only want to remove the webcam service, you'll have to set services to an empty map like so:

## Ustreamer base Service
x-ustreamer-svc: &ustreamer-svc
  image: mkuf/ustreamer:latest
  restart: unless-stopped
  command: --host=0.0.0.0 --port=8080 --slowdown --device=/dev/webcam --resolution=1280x960 --format=MJPEG --desired-fps=30

## Add your personal config here
services: {}

-Markus

InfiniteCoder01 commented 9 months ago

Thank you. Before, I've tried commenting sensors section completely and setting file to fake source. But this caused some really weird errors, like permission denied on /home/klippy. Now it works!