43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
version: '2.4'
|
|
|
|
services:
|
|
octoprint_1:
|
|
container_name: octoprint-test-1
|
|
#image: octoprint/octoprint
|
|
restart: unless-stopped
|
|
image: octoprint_1
|
|
ports:
|
|
- 127.0.0.1:50137:80
|
|
# devices:
|
|
# use `python -m serial.tools.miniterm` to see what the name is of the printer, this requires pyserial
|
|
# - /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
|
|
# - PGID=0
|
|
# - TZ=America/Chicago
|
|
# volumes:
|
|
# - octoprint:/octoprint
|
|
|
|
volumes:
|
|
octoprint1:
|