Created
October 15, 2020 15:30
-
-
Save FrankGrimm/147a10c16aa9a0c4828474c20f55e00f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
# example for 2 deployments of | |
# https://hub.docker.com/r/octoprint/octoprint | |
services: | |
octoprint1: | |
image: octoprint/octoprint | |
restart: unless-stopped | |
ports: | |
- "8001:80" | |
# devices: | |
# - /dev/ttyACM0:/dev/ttyACM0 | |
# - /dev/video0:/dev/video0 | |
volumes: | |
- ./octoprint1:/octoprint | |
# uncomment the lines below to ensure camera streaming is enabled when | |
# you add a video device | |
#environment: | |
# - ENABLE_MJPG_STREAMER=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:/config | |
octoprint2: | |
image: octoprint/octoprint | |
restart: unless-stopped | |
ports: | |
- "8002:80" | |
# devices: | |
# - /dev/ttyACM0:/dev/ttyACM0 | |
# - /dev/video0:/dev/video0 | |
volumes: | |
- ./octoprint2:/octoprint | |
# uncomment the lines below to ensure camera streaming is enabled when | |
# you add a video device | |
#environment: | |
# - ENABLE_MJPG_STREAMER=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment