Files
octodocker_deploy/docker-compose.yml
2024-07-27 16:47:44 -05:00

21 lines
575 B
YAML

version: '2.4'
services:
NEWINSTANCE:
image: octoprint/octoprint
container_name: octopi_NEWINSTANCE
restart: unless-stopped
ports:
- NEWPORT:5000
- CAMPORT:8080
#devices:
# - /dev/ttyACM0:/dev/ttyACM0
# - /dev/video0:/dev/video0
volumes:
- /opt/octoprint/NEWINSTANCE:/octoprint
# uncomment the lines below to ensure camera streaming is enabled when
# you add a video device
#environment:
# - ENABLE_MJPG_STREAMER=true
# - CAMERA_DEV=/dev/video0
# - MJPG_STREAMER_INPUT="-y -n -r 1280x960 -f 30