Skip to content

Instantly share code, notes, and snippets.

@cp2004
Last active February 5, 2021 19:19
Show Gist options
  • Save cp2004/5e32b021fca66e7167039a1737fd7f21 to your computer and use it in GitHub Desktop.
Save cp2004/5e32b021fca66e7167039a1737fd7f21 to your computer and use it in GitHub Desktop.
How to get WS281x LED Status running in docker
version: '2.4'
services:
octoprint:
image: octoprint/octoprint
restart: unless-stopped
ports:
- 80:80
# devices:
# - /dev/ttyACM0:/dev/ttyACM0
# - /dev/video0:/dev/video0
volumes:
- octoprint:/octoprint
- /boot/config.txt:/boot/config.txt
- /boot/cmdline.txt:/boot/cmdline.txt
# uncomment the lines below to ensure camera streaming is enabled when
# you add a video device
#environment:
# - ENABLE_MJPG_STREAMER=true
privileged: true
####
# uncomment if you wish to edit the configuration files of octoprint
# refer to docs on configuration editing for more information
####
#config-editor:
# image: linuxserver/code-server
# ports:
# - 8443:8443
# depends_on:
# - octoprint
# restart: unless-stopped
# environment:
# - PUID=0
# - GUID=0
# - TZ=America/Chicago
# volumes:
# - octoprint:/octoprint
volumes:
octoprint:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment