mirror of
https://github.com/mkuf/prind.git
synced 2025-10-26 07:46:19 +01:00
octoprint: add basic config
* adds config/octoprint.yaml * sets the serial device for octoprint * sets the stream and snapshot urls for octoprint resolves #26
This commit is contained in:
10
config/octoprint.yaml
Normal file
10
config/octoprint.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
serial:
|
||||
additionalPorts:
|
||||
- /opt/run/klipper.tty
|
||||
autoconnect: true
|
||||
port: /opt/run/klipper.tty
|
||||
webcam:
|
||||
snapshot: http://webcam:8080/snapshot
|
||||
stream: /webcam/stream
|
||||
accessControl:
|
||||
userfile: /octoprint/octoprint/users.yaml
|
||||
@@ -99,6 +99,7 @@ services:
|
||||
- /dev:/dev
|
||||
- run:/opt/run
|
||||
- octoprint:/octoprint
|
||||
- ./config/octoprint.yaml:/octoprint/octoprint/config.yaml
|
||||
profiles:
|
||||
- octoprint
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user