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:
Markus Küffner
2022-06-13 21:27:44 +02:00
parent 09261e6c3d
commit dc5c059a7d
2 changed files with 11 additions and 0 deletions

10
config/octoprint.yaml Normal file
View 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

View File

@@ -99,6 +99,7 @@ services:
- /dev:/dev
- run:/opt/run
- octoprint:/octoprint
- ./config/octoprint.yaml:/octoprint/octoprint/config.yaml
profiles:
- octoprint
labels: