feat: add collabora deployment and services for Nextcloud integration

This commit is contained in:
2025-04-16 04:58:27 +05:30
parent f935971632
commit a6bbca9a89
3 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nextcloud
namespace: default
spec:
selector:
matchLabels:
app: nextcloud
template:
metadata:
labels:
app: nextcloud
spec:
containers:
- name: nextcloud
image: lscr.io/linuxserver/nextcloud:31.0.2
ports:
- containerPort: 443
env:
- name: PGID
value: "1000"
- name: PUID
value: "1000"
- name: TZ
value: "Asia/Kolkata"
volumeMounts:
- name: nextcloud-data
mountPath: /data
- name: nextcloud-config
mountPath: /config
volumes:
- name: nextcloud-data
nfs:
path: /home/akshun/nextcloud/data
server: 10.0.0.10
- name: nextcloud-config
nfs:
path: /home/akshun/nextcloud/config
server: 10.0.0.10