91 lines
2.2 KiB
Plaintext
91 lines
2.2 KiB
Plaintext
[server]
|
|
host: 0.0.0.0
|
|
port: 7126
|
|
# The maximum size allowed for a file upload (in MiB). Default 1024 MiB
|
|
max_upload_size: 1024
|
|
# Path to klippy Unix Domain Socket
|
|
klippy_uds_address: ~/PRINTERNAME/printer_data/comms/klippy.sock
|
|
|
|
[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
|
|
path: ~/PRINTERNAME/mainsail
|
|
|
|
# [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
|
|
|
|
### 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
|
|
# [update_manager crowsnest]
|
|
# type: git_repo
|
|
# path: ~/crowsnest
|
|
# origin: https://github.com/mainsail-crew/crowsnest.git
|
|
# managed_services: crowsnest
|
|
# install_script: tools/pkglist.sh
|
|
|
|
# # 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
|