Skip to content

Instantly share code, notes, and snippets.

@FrankGrimm
Created October 15, 2020 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrankGrimm/147a10c16aa9a0c4828474c20f55e00f to your computer and use it in GitHub Desktop.
Save FrankGrimm/147a10c16aa9a0c4828474c20f55e00f to your computer and use it in GitHub Desktop.
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