Add 'docker_portainer_stacks/octoprint.yml'

This commit is contained in:
sthope 2022-02-03 18:43:05 +00:00
parent 6e89d81187
commit 5f37da00c9

View File

@ -0,0 +1,21 @@
---
version: '3.8'
volumes:
octoprint:
services:
octoprint:
image: octoprint/octoprint:latest
container_name: octoprint
network_mode: bridge
restart: unless-stopped
user: 1000:1000
volumes:
- octoprint:/octoprint
# devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
ports:
- 80:80
labels:
- com.centurylinklabs.watchtower.enable=true