homelab/nextcloud/nextcloud.yaml
2025-11-22 22:20:32 -06:00

155 lines
3.2 KiB
YAML

---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert --namespace nextcloud -o nextcloud.yaml
kompose.service.expose: nextcloud.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: nextcloud
name: nextcloud
namespace: nextcloud
spec:
ports:
- name: "443"
port: 443
targetPort: 443
selector:
io.kompose.service: nextcloud
status:
loadBalancer: {}
---
apiVersion: v1
kind: Namespace
metadata:
creationTimestamp: null
name: nextcloud
namespace: nextcloud
spec: {}
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert --namespace nextcloud -o nextcloud.yaml
kompose.service.expose: nextcloud.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: nextcloud
name: nextcloud
namespace: nextcloud
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert --namespace nextcloud -o nextcloud.yaml
kompose.service.expose: nextcloud.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.network/nextcloud-default: "true"
io.kompose.service: nextcloud
spec:
containers:
- env:
- name: PGID
value: "1000"
- name: PUID
value: "1000"
- name: TZ
value: '"America/Chicago"'
image: lscr.io/linuxserver/nextcloud:latest
name: nextcloud
ports:
- containerPort: 443
protocol: TCP
resources: {}
volumeMounts:
- mountPath: /config
name: appdata
- mountPath: /data
name: data
restartPolicy: Always
volumes:
- name: appdata
persistentVolumeClaim:
claimName: appdata
- name: data
persistentVolumeClaim:
claimName: data
status: {}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kompose.cmd: kompose convert --namespace nextcloud -o nextcloud.yaml
kompose.service.expose: nextcloud.wayl.one
kompose.version: 1.31.2 (a92241f79)
creationTimestamp: null
labels:
io.kompose.service: nextcloud
name: nextcloud
namespace: nextcloud
spec:
rules:
- host: nextcloud.wayl.one
http:
paths:
- backend:
service:
name: nextcloud
port:
number: 443
path: /
pathType: Prefix
status:
loadBalancer: {}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: appdata
name: appdata
namespace: nextcloud
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: data
name: data
namespace: nextcloud
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}