update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2022-08-07 15:08:28 +02:00
parent 4ebc71bcc5
commit be3ea39f14

View File

@ -6,15 +6,16 @@ volumes:
octoprint: octoprint:
services: services:
octoprint: octoprint:
image: octoprint/octoprint:${tag-latest} image: octoprint/octoprint:${TAG-latest}
container_name: octoprint container_name: ${CNAME-octoprint}
network_mode: ${NET-bridge} network_mode: ${NET-bridge}
restart: ${RST-unless-stopped} restart: ${RST-unless-stopped}
user: ${USER-1000:1000} user: ${USER-1000:1000}
volumes: volumes:
- octoprint:/octoprint - octoprint:/octoprint
# devices: # devices:
# - /dev/ttyUSB0:/dev/ttyUSB0 # - ${USB_PRINTER-/dev/ttyUSB0}:/dev/ttyUSB0
privilleged: ${PRIVILLEGED-true}
ports: ports:
- 80:80 - 80:80
labels: labels:
@ -23,11 +24,12 @@ services:
Environments: Environments:
``` ```
tag=latest CNAME=Ender3
TAG=latest
RST=unless-stopped RST=unless-stopped
NET=bridge NET=bridge
PUID=${PUID-1000} USER=1000:1000
PGID=${PGID-1000}
TZ=Europe/Lisbon
AutoUpdate=true AutoUpdate=true
USB_PRINTER=/dev/ttyUSB0
PRIVILLEGED=true
``` ```