mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: seahub
|
|
name: seahub
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: seahub
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.network/compose-seafile-net: "true"
|
|
io.kompose.service: seahub
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SEAFILE_ADMIN_EMAIL
|
|
value: me@example.com
|
|
- name: SEAFILE_ADMIN_PASSWORD
|
|
value: asecret
|
|
image: ggogel/seahub:11.0.12
|
|
name: seahub
|
|
ports:
|
|
- containerPort: 8000
|
|
protocol: TCP
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /shared
|
|
name: seafile-data
|
|
- mountPath: /shared/seafile/seahub-data/avatars
|
|
name: seahub-avatars
|
|
- mountPath: /shared/seafile/seahub-data/custom
|
|
name: seahub-custom
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: seafile-data
|
|
persistentVolumeClaim:
|
|
claimName: seafile-data
|
|
- name: seahub-avatars
|
|
persistentVolumeClaim:
|
|
claimName: seahub-avatars
|
|
- name: seahub-custom
|
|
persistentVolumeClaim:
|
|
claimName: seahub-custom
|
|
status: {}
|