Skip to content

Commit

Permalink
octoprint: add basic config
Browse files Browse the repository at this point in the history
  * adds config/octoprint.yaml
  * sets the serial device for octoprint
  * sets the stream and snapshot urls for octoprint

resolves #26
  • Loading branch information
mkuf committed Jun 13, 2022
1 parent 09261e6 commit dc5c059
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/octoprint.yaml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ services:
- /dev:/dev
- run:/opt/run
- octoprint:/octoprint
- ./config/octoprint.yaml:/octoprint/octoprint/config.yaml
profiles:
- octoprint
labels:
Expand Down

0 comments on commit dc5c059

Please sign in to comment.