mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
72 lines
2 KiB
YAML
72 lines
2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
kompose.service.expose.storage-class-name: default
|
|
kompose.service.healthcheck.readiness.interval: 10s
|
|
kompose.service.healthcheck.readiness.tcp_port: "8082"
|
|
kompose.service.healthcheck.readiness.timeout: 10s
|
|
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.service.healthcheck.readiness.interval: 10s
|
|
kompose.service.healthcheck.readiness.tcp_port: "8082"
|
|
kompose.service.healthcheck.readiness.timeout: 10s
|
|
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
|
|
image: ggogel/seafile-server:11.0.4
|
|
name: seafile-server
|
|
ports:
|
|
- containerPort: 8001
|
|
protocol: TCP
|
|
- containerPort: 8080
|
|
protocol: TCP
|
|
- containerPort: 8082
|
|
protocol: TCP
|
|
- containerPort: 8083
|
|
protocol: TCP
|
|
readinessProbe:
|
|
periodSeconds: 10
|
|
tcpSocket:
|
|
port: 8082
|
|
timeoutSeconds: 10
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /shared
|
|
name: seafile-data
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: seafile-data
|
|
persistentVolumeClaim:
|
|
claimName: seafile-data
|
|
status: {}
|