From dc5c059a7d7d28ab182eaa0d40b77c333a267e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20K=C3=BCffner?= Date: Mon, 13 Jun 2022 21:27:44 +0200 Subject: [PATCH] octoprint: add basic config * adds config/octoprint.yaml * sets the serial device for octoprint * sets the stream and snapshot urls for octoprint resolves #26 --- config/octoprint.yaml | 10 ++++++++++ docker-compose.yaml | 1 + 2 files changed, 11 insertions(+) create mode 100644 config/octoprint.yaml diff --git a/config/octoprint.yaml b/config/octoprint.yaml new file mode 100644 index 0000000..9cd75ea --- /dev/null +++ b/config/octoprint.yaml @@ -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 \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index e09eed3..cfd3c37 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -99,6 +99,7 @@ services: - /dev:/dev - run:/opt/run - octoprint:/octoprint + - ./config/octoprint.yaml:/octoprint/octoprint/config.yaml profiles: - octoprint labels: