Skip to content

Instantly share code, notes, and snippets.

@NULLx76
Created November 30, 2020 20:56
Show Gist options
  • Save NULLx76/9002957b66ca4540999254047e5bc17d to your computer and use it in GitHub Desktop.
Save NULLx76/9002957b66ca4540999254047e5bc17d to your computer and use it in GitHub Desktop.
Photoprism values
# Default values for PhotoPrism Helm chart
image:
repository: photoprism/photoprism
tag: "20201120"
pullPolicy: IfNotPresent
nameOverride: ""
fullnameOverride: ""
# Defaults to 'photoprism'
#adminPassword: ""
# Available properties can be discovered by running the command:
# photoprism config
# The sample docker-compose.yml file in the PhotoPrism git repo
# is also a good place to look:
# https://github.com/photoprism/photoprism/blob/develop/docker-compose.yml
config:
PHOTOPRISM_DEBUG: true
PHOTOPRISM_PUBLIC: true
PHOTOPRISM_READONLY: false
PHOTOPRISM_LOG_LEVEL: "trace"
# nodeSelector:
# kubernetes.io/hostname:
persistence:
enabled: true
storagePath: &storagePath /photoprism/storage
originalsPath: &originalsPath /photoprism/originals
volumeMounts:
- name: originals
mountPath: *originalsPath
- name: storage
mountPath: *storagePath
volumes:
- name: originals
nfs:
server: 192.168.0.115
path: /mnt/storage/photoprism/originals
- name: storage
nfs:
server: 192.168.0.115
path: /mnt/storage/photoprism/storage
# volumeClaimTemplates:
# - metadata:
# name: photoprism
# spec:
# accessModes: [ "ReadWriteMany" ]
# storageClassName: "my-storage-class" # You'll probably want to ensure your storage class has `reclaimPolicy: Retain`
# resources:
# requests:
# storage: 100Gi
service:
type: ClusterIP
port: 80
ingress:
enabled: false
hosts:
- host: photo.xirion.net
paths:
- /
# securityContext:
# fsGroup: 100
# runAsUser: 1000
# runAsGroup: 1000
resources:
requests:
memory: 2Gi
# limits:
# cpu: 100m
# memory: 128Mi
# tolerations: []
# affinity: {}
# To use a remote MySQL or TiDB instance, set the value for driver to 'mysql'
database:
# Set these values only if the mysql driver is used
driver: mysql
name: photoprism
user: photoprism
password: photoprism
port: 3306
host: mariadb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment