File tree 6 files changed +145
-0
lines changed
6 files changed +145
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : networking.k8s.io/v1
2
+ kind : Ingress
3
+ metadata :
4
+ annotations :
5
+ ingressClassName : nginx
6
+ nginx.ingress.kubernetes.io/proxy-body-size : " 512M"
7
+ external-dns.alpha.kubernetes.io/target : 55c7affb-4f19-426b-aa56-cfa47940ee99.cfargotunnel.com
8
+ name : photoprism
9
+ namespace : photoprism
10
+ spec :
11
+ rules :
12
+ - host : fotos.kindersaai.nl
13
+ http :
14
+ paths :
15
+ - backend :
16
+ service :
17
+ name : photoprism
18
+ port :
19
+ name : http
20
+ path : /
21
+ pathType : Prefix
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Namespace
3
+ metadata :
4
+ name : photoprism
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : PersistentVolumeClaim
3
+ metadata :
4
+ name : photoprism-pvc-originals
5
+ namespace : photoprism
6
+ spec :
7
+ volumeMode : Filesystem
8
+ resources :
9
+ requests :
10
+ storage : 10Gi
11
+ accessModes :
12
+ - ReadWriteOnce
13
+ storageClassName : impl-default
14
+ ---
15
+ apiVersion : v1
16
+ kind : PersistentVolumeClaim
17
+ metadata :
18
+ name : photoprism-pvc-import
19
+ namespace : photoprism
20
+ spec :
21
+ volumeMode : Filesystem
22
+ resources :
23
+ requests :
24
+ storage : 10Gi
25
+ accessModes :
26
+ - ReadWriteOnce
27
+ storageClassName : impl-default
28
+ ---
29
+ apiVersion : v1
30
+ kind : PersistentVolumeClaim
31
+ metadata :
32
+ name : photoprism-pvc-storage
33
+ namespace : photoprism
34
+ spec :
35
+ volumeMode : Filesystem
36
+ resources :
37
+ requests :
38
+ storage : 10Gi
39
+ accessModes :
40
+ - ReadWriteOnce
41
+ storageClassName : impl-default
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Secret
3
+ metadata :
4
+ name : photoprism-secrets
5
+ namespace : photoprism
6
+ stringData :
7
+ PHOTOPRISM_ADMIN_PASSWORD : killer
8
+ PHOTOPRISM_DATABASE_DSN : /photoprism/storage/photoprism.sqlite
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : photoprism
5
+ namespace : photoprism
6
+ spec :
7
+ ports :
8
+ - name : http
9
+ port : 80
10
+ protocol : TCP
11
+ targetPort : http
12
+ selector :
13
+ app : photoprism
14
+ type : ClusterIP
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : StatefulSet
3
+ metadata :
4
+ name : photoprism
5
+ namespace : photoprism
6
+ spec :
7
+ selector :
8
+ matchLabels :
9
+ app : photoprism
10
+ serviceName : photoprism
11
+ replicas : 1
12
+ template :
13
+ metadata :
14
+ labels :
15
+ app : photoprism
16
+ spec :
17
+ containers :
18
+ - name : photoprism
19
+ image : photoprism/photoprism:230923-ce
20
+ env :
21
+ - name : PHOTOPRISM_DEBUG
22
+ value : " true"
23
+ - name : PHOTOPRISM_DATABASE_DRIVER
24
+ value : sqlite
25
+ - name : PHOTOPRISM_HTTP_HOST
26
+ value : 0.0.0.0
27
+ - name : PHOTOPRISM_HTTP_PORT
28
+ value : " 2342"
29
+ # Load database DSN & admin password from secret
30
+ envFrom :
31
+ - secretRef :
32
+ name : photoprism-secrets
33
+ optional : false
34
+ ports :
35
+ - containerPort : 2342
36
+ name : http
37
+ volumeMounts :
38
+ - mountPath : /photoprism/originals
39
+ name : originals
40
+ - mountPath : /photoprism/import
41
+ name : import
42
+ - mountPath : /photoprism/storage
43
+ name : storage
44
+ readinessProbe :
45
+ httpGet :
46
+ path : /api/v1/status
47
+ port : http
48
+ volumes :
49
+ - name : originals
50
+ persistentVolumeClaim :
51
+ claimName : photoprism-pvc-originals
52
+ - name : import
53
+ persistentVolumeClaim :
54
+ claimName : photoprism-pvc-import
55
+ - name : storage
56
+ persistentVolumeClaim :
57
+ claimName : photoprism-pvc-storage
You can’t perform that action at this time.
0 commit comments