Skip to content

Commit

Permalink
updated octoprint with ustreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
ivylikethevine committed Mar 15, 2024
1 parent a992dbb commit 8e3c27b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
4 changes: 1 addition & 3 deletions stacks/docsify/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
version: '3.8'
version: "3.8"
services:
docsify:
build:
context: .
container_name: docsify
restart: always
# stdin_open: true # docker run -i
# tty: true # docker run -t
ports:
- 3000:3000
volumes:
Expand Down
19 changes: 13 additions & 6 deletions stacks/octoprint/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
version: '3.8'
version: "3.8"
services:
octoprint:
image: octoprint/octoprint
container_name: octoprint
restart: on-failure
privileged: true
restart: always
ports:
- 87:80
environment:
- ENABLE_MJPG_STREAMER=true
- 85:80
volumes:
- /containers/octoprint:/octoprint
privileged: true
ustreamer:
image: pikvm/ustreamer:latest
container_name: ustreamer
restart: always
devices:
- /dev/video3:/dev/video0
ports:
- 8080:8080
command: ustreamer --device /dev/video0 -b 32 -w 32 -r 1280x720 -q 60
networks: {}

0 comments on commit 8e3c27b

Please sign in to comment.