38 lines
811 B
YAML
38 lines
811 B
YAML
|
image:
|
||
|
repository: octoprint/octoprint
|
||
|
tag: 1.10.0@sha256:fc97e1e5c591018eb333a910761b3b3442908e7737cbcbec58290eb487e54b34
|
||
|
pullPolicy: IfNotPresent
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10021
|
||
|
targetPort: 80
|
||
|
persistence:
|
||
|
data:
|
||
|
enabled: true
|
||
|
mountPath: "/octoprint"
|
||
|
varrun:
|
||
|
enabled: true
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|
||
|
securityContext:
|
||
|
container:
|
||
|
runAsNonRoot: false
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
env:
|
||
|
ENABLE_MJPG_STREAMER: "true"
|
||
|
# -- sets the Mjpg stream imput parameters
|
||
|
# Example "-y -n -r 640x480"
|
||
|
MJPG_STREAMER_INPUT:
|
||
|
# -- sets the camera dev parameters
|
||
|
# Example "/dev/video0"
|
||
|
CAMERA_DEV:
|