wiki/docs/portainer-stacks/octoprint.md
Sthope eb1212bbee
All checks were successful
continuous-integration/drone/push Build is passing
first commit
2022-05-01 19:06:40 +02:00

33 lines
572 B
Markdown

Portainer Stack:
```yaml
---
version: "3.8"
volumes:
octoprint:
services:
octoprint:
image: octoprint/octoprint:${tag-latest}
container_name: octoprint
network_mode: ${NET-bridge}
restart: ${RST-unless-stopped}
user: ${USER-1000:1000}
volumes:
- octoprint:/octoprint
# devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
ports:
- 80:80
labels:
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
```
Environments:
```
tag=latest
RST=unless-stopped
NET=bridge
PUID=1000
PGID=1000
TZ=Europe/Lisbon
AutoUpdate=true
```