2024-04-06 01:22:02 +00:00
|
|
|
[server]
|
|
|
|
host: 0.0.0.0
|
2024-08-06 02:39:32 +00:00
|
|
|
port: PORT
|
2024-04-06 01:22:02 +00:00
|
|
|
# The maximum size allowed for a file upload (in MiB). Default 1024 MiB
|
|
|
|
max_upload_size: 1024
|
|
|
|
# Path to klippy Unix Domain Socket
|
2024-04-09 00:47:55 +00:00
|
|
|
klippy_uds_address: ~/PRINTERNAME/printer_data/comms/klippy.sock
|
2024-04-06 01:22:02 +00:00
|
|
|
|
|
|
|
[file_manager]
|
|
|
|
# post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False
|
|
|
|
enable_object_processing: False
|
|
|
|
|
|
|
|
[authorization]
|
|
|
|
cors_domains:
|
|
|
|
https://my.mainsail.xyz
|
|
|
|
http://my.mainsail.xyz
|
|
|
|
http://*.local
|
|
|
|
http://*.lan
|
|
|
|
trusted_clients:
|
|
|
|
10.0.0.0/8
|
|
|
|
127.0.0.0/8
|
|
|
|
169.254.0.0/16
|
|
|
|
172.16.0.0/12
|
|
|
|
192.168.0.0/16
|
|
|
|
FE80::/10
|
|
|
|
::1/128
|
|
|
|
|
|
|
|
# enables partial support of Octoprint API
|
|
|
|
[octoprint_compat]
|
|
|
|
|
|
|
|
# enables moonraker to track and store print history.
|
|
|
|
[history]
|
|
|
|
|
|
|
|
# this enables moonraker announcements for mainsail
|
|
|
|
[announcements]
|
|
|
|
subscriptions:
|
|
|
|
mainsail
|
|
|
|
|
|
|
|
# this enables moonraker's update manager
|
|
|
|
[update_manager]
|
|
|
|
refresh_interval: 168
|
|
|
|
enable_auto_refresh: True
|
|
|
|
|
|
|
|
[update_manager mainsail]
|
|
|
|
type: web
|
|
|
|
channel: stable
|
|
|
|
repo: mainsail-crew/mainsail
|
2024-04-09 00:47:55 +00:00
|
|
|
path: ~/PRINTERNAME/mainsail
|
2024-04-06 01:22:02 +00:00
|
|
|
|
2024-04-09 00:47:55 +00:00
|
|
|
# [update_manager mainsail-config]
|
|
|
|
# type: git_repo
|
|
|
|
# primary_branch: master
|
|
|
|
# path: ~/PRINTERNAME/mainsail-config
|
|
|
|
# origin: https://github.com/mainsail-crew/mainsail-config.git
|
|
|
|
# managed_services: klipper
|
2024-04-06 01:22:02 +00:00
|
|
|
|
|
|
|
### moonraker-timelapse
|
|
|
|
### Don't forget to include timelapse.cfg to your printer.cfg
|
|
|
|
### Uncomment to enable moonraker-timelapse
|
|
|
|
|
|
|
|
|
|
|
|
#[update_manager timelapse]
|
|
|
|
#type: git_repo
|
|
|
|
#primary_branch: main
|
|
|
|
#path: ~/moonraker-timelapse
|
|
|
|
#origin: https://github.com/mainsail-crew/moonraker-timelapse.git
|
|
|
|
#managed_services: klipper moonraker
|
|
|
|
|
|
|
|
#[timelapse]
|
|
|
|
### Directory where the generated video will be saved
|
|
|
|
#output_path: ~/timelapse/
|
|
|
|
### Directory where ffmpeg is installed
|
|
|
|
#ffmpeg_binary_path: /usr/bin/ffmpeg
|
|
|
|
|
|
|
|
# Crowsnest update_manager entry
|
2024-04-09 00:47:55 +00:00
|
|
|
# [update_manager crowsnest]
|
|
|
|
# type: git_repo
|
|
|
|
# path: ~/crowsnest
|
|
|
|
# origin: https://github.com/mainsail-crew/crowsnest.git
|
|
|
|
# managed_services: crowsnest
|
|
|
|
# install_script: tools/pkglist.sh
|
2024-04-06 01:22:02 +00:00
|
|
|
|
2024-04-09 00:47:55 +00:00
|
|
|
# # Sonar update_manager entry
|
|
|
|
# [update_manager sonar]
|
|
|
|
# type: git_repo
|
|
|
|
# path: ~/sonar
|
|
|
|
# origin: https://github.com/mainsail-crew/sonar.git
|
|
|
|
# primary_branch: main
|
|
|
|
# managed_services: sonar
|
|
|
|
# install_script: tools/install.sh
|