-
Notifications
You must be signed in to change notification settings - Fork 15
/
release.yaml
91 lines (85 loc) · 3.03 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: photoprism
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.5.1
interval: 15m
sourceRef:
kind: HelmRepository
name: bjw-s-helm-charts
namespace: flux-system
# See https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/values.yaml
values:
image:
repository: docker.io/photoprism/photoprism
tag: latest@sha256:32da029428be9335889ab13f03ea839201af49c2a1699c8f7c4de5b5911e2e1a
env:
PHOTOPRISM_STORAGE_PATH: /photoprism/storage
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
## See other config options from PhotoPrism documentation: https://docs.photoprism.org/getting-started/config-options/
# PHOTOPRISM_ADMIN_PASSWORD: "please-change" # Initial admin password: PLEASE CHANGE!
# PHOTOPRISM_DEBUG: "false" # Run in debug mode (shows additional log messages)
PHOTOPRISM_PUBLIC: "true" # No authentication required (disables password protection)
# PHOTOPRISM_READONLY: "false" # Don't modify originals directory (reduced functionality)
# PHOTOPRISM_EXPERIMENTAL: "false" # Enable experimental features
PHOTOPRISM_SITE_URL: "https://photos.pub.${CLUSTER_DOMAIN}/" # Canonical / public site URL
PHOTOPRISM_SITE_TITLE: "Nunez Gregoire"
PHOTOPRISM_SITE_CAPTION: "Casa"
PHOTOPRISM_SITE_DESCRIPTION: "una descripcion"
# PHOTOPRISM_SITE_AUTHOR: ""
# # You may optionally set user, group and/or file permissions using environment variables:
# UID: 1000
# GID: 1000
# UMASK: 0000
PHOTOPRISM_ORIGINALS_LIMIT: 4000 # in MB (default 1000)
persistence:
config:
enabled: true
mountPath: /photoprism/storage
type: custom
volumeSpec:
nfs:
server: "${NFS_SERVER}"
path: "${NFS_KUBERNETES}/photoprism/storage"
originals:
enabled: true
mountPath: "/photoprism/originals"
type: custom
volumeSpec:
nfs:
server: "${NFS_SERVER}"
path: "${NFS_KUBERNETES}/photoprism/originals"
service:
main:
ports:
http:
port: 2342
ingress:
main:
enabled: true
annotations:
hajimari.io/enable: "true"
hajimari.io/icon: arcticons:photoprism
hajimari.io/info: Manage Photos
hajimari.io/group: media
nginx.ingress.kubernetes.io/proxy-body-size: 4G
hosts:
- host: photos.pub.${CLUSTER_DOMAIN}
paths:
- path: /
# Ignored if not kubeVersion >= 1.14-0
pathType: Prefix
- host: photos.home.${CLUSTER_DOMAIN}
paths:
- path: /
# Ignored if not kubeVersion >= 1.14-0
pathType: Prefix
tls:
- hosts:
- photos.pub.${CLUSTER_DOMAIN}
- photos.home${CLUSTER_DOMAIN}