good mount point
This commit is contained in:
parent
2d9dd339d0
commit
5d2dde9d27
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
- name: "http"
|
||||
port: 80
|
||||
protocol: "TCP"
|
||||
targetPort: 80
|
||||
selector:
|
||||
io.kompose.service: pigallery2
|
||||
status:
|
||||
loadBalancer: {}
|
||||
app: "pigallery2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user