seafile-containerized/k8s/seafile-server-deployment.yaml

61 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2023-12-05 13:20:40 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.service.expose.storage-class-name: default
kompose.volume.size: 1Gi
creationTimestamp: null
labels:
io.kompose.service: seafile-server
name: seafile-server
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: seafile-server
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.service.expose.storage-class-name: default
kompose.volume.size: 1Gi
creationTimestamp: null
labels:
io.kompose.network/compose-seafile-net: "true"
io.kompose.service: seafile-server
spec:
containers:
- env:
- name: DB_HOST
value: db
- name: DB_ROOT_PASSWD
value: db_dev
- name: HTTPS
value: "true"
- name: SEAFILE_URL
value: seafile.mydomain.com
- name: TIME_ZONE
value: Europe/Berlin
2023-12-21 08:03:56 +00:00
image: ggogel/seafile-server:11.0.3
2023-12-05 13:20:40 +00:00
name: seafile-server
ports:
- containerPort: 8001
protocol: TCP
- containerPort: 8080
protocol: TCP
- containerPort: 8082
protocol: TCP
- containerPort: 8083
protocol: TCP
resources: {}
volumeMounts:
- mountPath: /shared
name: seafile-data
restartPolicy: Always
volumes:
- name: seafile-data
persistentVolumeClaim:
claimName: seafile-data
status: {}