mirror of
https://github.com/nold360/hive-apps
synced 2024-11-14 01:36:37 +00:00
77 lines
1.6 KiB
YAML
77 lines
1.6 KiB
YAML
image:
|
|
# -- image repository
|
|
repository: sbs20/scanservjs
|
|
# -- image tag
|
|
tag: latest
|
|
# -- image pull policy
|
|
pullPolicy: Always
|
|
|
|
# -- environment variables.
|
|
# See more environment variables in the [scanservjs documentation](https://scanservjs.org/docs).
|
|
env:
|
|
# -- Set the container timezone
|
|
TZ: UTC
|
|
# SANED_NET_HOSTS: 127.0.0.1
|
|
# OCR_LANG: "eng"
|
|
# AIRSCAN_DEVICES:
|
|
# DELIMITER:
|
|
# DEVICES:
|
|
# SCANIMAGE_LIST_IGNORE:
|
|
|
|
# -- Configures service settings for the chart.
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 8080
|
|
|
|
# -- Enable and configure ingress settings for the chart under this key.
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: vault-issuer
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
hosts:
|
|
- host: scan.dc
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: scan-tls
|
|
hosts:
|
|
- scan.dc
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
persistence:
|
|
## This might be needed for local scanners:
|
|
#dbus:
|
|
# enabled: true
|
|
# mountPath: /var/run/dbus
|
|
# hostPath: /var/run/dbus
|
|
# type: hostPath
|
|
|
|
output:
|
|
enabled: true
|
|
mountPath: /app/data/output
|
|
hostPath: /data/paperless/import
|
|
type: hostPath
|
|
|
|
config:
|
|
enabled: true
|
|
mountPath: /app/config
|
|
size: 1G
|
|
|
|
podSecurityContext:
|
|
#runAsUser: 1000
|
|
#runAsGroup: 1000
|
|
fsGroup: 1000
|
|
|
|
#securityContext:
|
|
#runAsNonRoot: true
|
|
#privileged: false
|
|
#readOnlyRootFilesystem: true
|
|
#allowPrivilegeEscalation: false
|
|
#capabilities:
|
|
#drop:
|
|
#- ALL
|