-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timelapse support out of the box #46
Comments
Hey there, I'd rather not have this added to the moonraker base image. You can easily create a new Dockerfile that references mkuf/moonraker:latest and adds the necessary requirements.
FROM mkuf/moonraker:latest
USER root
RUN apt update \
&& apt install -y ffmpeg \
&& apt clean
USER moonraker
[...]
services:
moonraker:
image: moonraker:ffmpeg
build:
context: docker/moonraker
dockerfile: Dockerfile.ffmpeg
volumes:
- /opt/moonraker-timelapse/component/timelapse.py:/opt/moonraker/moonraker/components/timelapse.py
- /dev/null:/opt/klipper/config/null
- /dev/null:/opt/klipper/docs/null
- /run/dbus:/run/dbus
- /run/systemd:/run/systemd
- run:/opt/printer_data/run
- gcode:/opt/printer_data/gcodes
- log:/opt/printer_data/logs
- moonraker-db:/opt/printer_data/database
- ./config:/opt/printer_data/config
[...] You can then go ahead and add the config macros to klipper and might also want to add additional Volumes to moonraker to extract the generated Timelapse files from the container. Let me know if this works for you. -Markus |
I'm closing this for now, we can reopen this if you have any further questions. -Markus |
This setup is now also part of the |
AWESOME work! @mkuf - got it working nerly first try! except that Thank You So Much for this docker configuration of klipper & co - very advanced implementation! |
hey guys is there any was to configuring timelapse support out of box?
rep: https://github.com/mainsail-crew/moonraker-timelapse
instruction: https://www.youtube.com/watch?v=Z2ut7lGHWuQ
The text was updated successfully, but these errors were encountered: