good mount point
This commit is contained in:
parent
2d9dd339d0
commit
5d2dde9d27
@ -1,3 +1,5 @@
|
|||||||
|
Default user: admin/admin
|
||||||
|
|
||||||
Choix d'utiliser mysql:
|
Choix d'utiliser mysql:
|
||||||
https://github.com/bpatrik/pigallery2 (SQL database and no-database mode)
|
https://github.com/bpatrik/pigallery2 (SQL database and no-database mode)
|
||||||
MySQL: permet plus d'options de recherche
|
MySQL: permet plus d'options de recherche
|
||||||
|
|||||||
@ -28,10 +28,10 @@ spec:
|
|||||||
name: config
|
name: config
|
||||||
- mountPath: /app/data/db
|
- mountPath: /app/data/db
|
||||||
name: db-data
|
name: db-data
|
||||||
- mountPath: /app/data/images
|
- name: "images"
|
||||||
name: images
|
mountPath: "/app/data/images"
|
||||||
- mountPath: /app/data/tmp
|
- name: tmp
|
||||||
name: tmp
|
mountPath: /app/data/tmp
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
@ -40,9 +40,11 @@ spec:
|
|||||||
- name: db-data
|
- name: db-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: db-data
|
claimName: db-data
|
||||||
- name: images
|
- name: "images"
|
||||||
persistentVolumeClaim:
|
nfs:
|
||||||
claimName: images
|
server: "odroidhc2.local"
|
||||||
|
path: "/mnt/photos_sanitized"
|
||||||
|
readOnly: true
|
||||||
- name: tmp
|
- name: tmp
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: tmp
|
claimName: tmp
|
||||||
|
|||||||
@ -1,19 +1,15 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert
|
|
||||||
kompose.version: 1.16.0 (0c01309)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: pigallery2
|
io.kompose.service: pigallery2
|
||||||
name: pigallery2
|
name: pigallery2
|
||||||
spec:
|
spec:
|
||||||
|
type: "ClusterIP"
|
||||||
ports:
|
ports:
|
||||||
- name: "80"
|
- name: "http"
|
||||||
port: 80
|
port: 80
|
||||||
|
protocol: "TCP"
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
io.kompose.service: pigallery2
|
app: "pigallery2"
|
||||||
status:
|
|
||||||
loadBalancer: {}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user