good mount point

This commit is contained in:
Julien Cabillot 2021-06-30 19:12:39 -04:00
parent 2d9dd339d0
commit 5d2dde9d27
3 changed files with 17 additions and 17 deletions

View File

@ -1,3 +1,5 @@
Default user: admin/admin
Choix d'utiliser mysql:
https://github.com/bpatrik/pigallery2 (SQL database and no-database mode)
MySQL: permet plus d'options de recherche

View File

@ -28,10 +28,10 @@ spec:
name: config
- mountPath: /app/data/db
name: db-data
- mountPath: /app/data/images
name: images
- mountPath: /app/data/tmp
name: tmp
- name: "images"
mountPath: "/app/data/images"
- name: tmp
mountPath: /app/data/tmp
restartPolicy: Always
volumes:
- name: config
@ -40,9 +40,11 @@ spec:
- name: db-data
persistentVolumeClaim:
claimName: db-data
- name: images
persistentVolumeClaim:
claimName: images
- name: "images"
nfs:
server: "odroidhc2.local"
path: "/mnt/photos_sanitized"
readOnly: true
- name: tmp
persistentVolumeClaim:
claimName: tmp

View File

@ -1,19 +1,15 @@
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: pigallery2
name: pigallery2
spec:
type: "ClusterIP"
ports:
- name: "80"
port: 80
targetPort: 80
- name: "http"
port: 80
protocol: "TCP"
targetPort: 80
selector:
io.kompose.service: pigallery2
status:
loadBalancer: {}
app: "pigallery2"