[add] librephotos
This commit is contained in:
parent
ebc53109d4
commit
a23428dec3
44 changed files with 2123 additions and 0 deletions
42
librephotos-docker/k8s/pvcs.yaml
Normal file
42
librephotos-docker/k8s/pvcs.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# This volume holds your photos.
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: photos
|
||||
spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 30Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
---
|
||||
|
||||
# This volume contains thumbnails. Setting it to 10-15% the size of "photos" is probably reasonable.
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: protected
|
||||
spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 3Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
---
|
||||
|
||||
# The postgres volume holds all the metadata. If it's 1% the size of "photos," you're probably fine.
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: postgres
|
||||
spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
Loading…
Add table
Add a link
Reference in a new issue