mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
78 lines
1.6 KiB
YAML
78 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: 192.168.1.0/24
|
|
# OCR_LANG: "eng"
|
|
AIRSCAN_DEVICES: 192.168.1.117 #printer.lan
|
|
PIXMA_HOSTS: 192.168.1.117 #printer.lan
|
|
# 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
|