add onlyoffice
This commit is contained in:
1 parent
fbee0b3499
commit
a764b29e04
10 files changed
+137
No files matched your search
@@ -0,0 +1,43 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: onlyoffice-deployment
|
||||
labels:
|
||||
app: onlyoffice
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: onlyoffice
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: onlyoffice
|
||||
spec:
|
||||
containers:
|
||||
- name: onlyoffice
|
||||
image: onlyoffice/documentserver
|
||||
ports:
|
||||
- containerPort: 80
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: onlyoffice-secret
|
||||
- configMapRef:
|
||||
name: onlyoffice-configmap
|
||||
# volumeMounts:
|
||||
# - name: onlyoffice-volume-data
|
||||
# mountPath: /var/www/onlyoffice/Data
|
||||
# - name: onlyoffice-volume-config
|
||||
# mountPath: /etc/onlyoffice
|
||||
# - name: onlyoffice-volume-logs
|
||||
# mountPath: /var/log/onlyoffice
|
||||
# volumes:
|
||||
# - name: onlyoffice-volume-data
|
||||
# hostPath:
|
||||
# path: /root/kubernetes/onlyoffice/data/data
|
||||
# - name: onlyoffice-volume-config
|
||||
# hostPath:
|
||||
# path: /root/kubernetes/onlyoffice/data/config
|
||||
# - name: onlyoffice-volume-logs
|
||||
# hostPath:
|
||||
# path: /root/kubernetes/onlyoffice/data/logs
|
||||
Reference in new issue
Block a user