Migrate Nextcloud to Longhorn
This commit is contained in:
parent
518c0eb121
commit
95639457f8
3 changed files with 44 additions and 39 deletions
|
@ -35,6 +35,11 @@
|
|||
mountPath = "/var/www/html";
|
||||
}];
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
fsGroup = 33;
|
||||
fsGroupChangePolicy = "OnRootMismatch";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,46 +6,46 @@
|
|||
TZ = "Europe/Amsterdam";
|
||||
};
|
||||
|
||||
deployments.syncthing = {
|
||||
metadata.labels.app = "syncthing";
|
||||
# deployments.syncthing = {
|
||||
# metadata.labels.app = "syncthing";
|
||||
|
||||
spec = {
|
||||
selector.matchLabels.app = "syncthing";
|
||||
# spec = {
|
||||
# selector.matchLabels.app = "syncthing";
|
||||
|
||||
template = {
|
||||
metadata.labels.app = "syncthing";
|
||||
# template = {
|
||||
# metadata.labels.app = "syncthing";
|
||||
|
||||
spec = {
|
||||
containers.syncthing = {
|
||||
image = "lscr.io/linuxserver/syncthing:1.23.6";
|
||||
envFrom = [{ configMapRef.name = "syncthing"; }];
|
||||
ports.web.containerPort = 8384;
|
||||
# spec = {
|
||||
# containers.syncthing = {
|
||||
# image = "lscr.io/linuxserver/syncthing:1.23.6";
|
||||
# envFrom = [{ configMapRef.name = "syncthing"; }];
|
||||
# ports.web.containerPort = 8384;
|
||||
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "config";
|
||||
mountPath = "/config";
|
||||
}
|
||||
{
|
||||
name = "nextcloud-data";
|
||||
mountPath = "/data";
|
||||
}
|
||||
{
|
||||
name = "music";
|
||||
mountPath = "/music";
|
||||
}
|
||||
];
|
||||
};
|
||||
# volumeMounts = [
|
||||
# {
|
||||
# name = "config";
|
||||
# mountPath = "/config";
|
||||
# }
|
||||
# {
|
||||
# name = "nextcloud-data";
|
||||
# mountPath = "/data";
|
||||
# }
|
||||
# {
|
||||
# name = "music";
|
||||
# mountPath = "/music";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
|
||||
volumes = {
|
||||
config.persistentVolumeClaim.claimName = "syncthing";
|
||||
nextcloud-data.persistentVolumeClaim.claimName = "nextcloud";
|
||||
music.persistentVolumeClaim.claimName = "music";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# volumes = {
|
||||
# config.persistentVolumeClaim.claimName = "syncthing";
|
||||
# nextcloud-data.persistentVolumeClaim.claimName = "nextcloud";
|
||||
# music.persistentVolumeClaim.claimName = "music";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
services.syncthing.spec = {
|
||||
selector.app = "syncthing";
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
|
||||
# volumeMounts = [
|
||||
# {
|
||||
# name = "minecraft";
|
||||
# mountPath = "/minecraft";
|
||||
# name = "nextcloud";
|
||||
# mountPath = "/nextcloud";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
|
||||
# volumes = {
|
||||
# minecraft.persistentVolumeClaim.claimName = "minecraft";
|
||||
# nextcloud.persistentVolumeClaim.claimName = "nextcloud";
|
||||
# };
|
||||
# };
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
|||
freshrss.storage = "400Mi";
|
||||
radicale.storage = "200Mi";
|
||||
minecraft.storage = "1Gi";
|
||||
nextcloud.storage = "50Gi";
|
||||
};
|
||||
|
||||
nfsVolumes = {
|
||||
|
@ -41,7 +42,6 @@
|
|||
pihole-dnsmasq.path = "pihole/dnsmasq";
|
||||
paperless-ngx-redisdata.path = "paperless-ngx/redisdata";
|
||||
paperless-ngx-data.path = "paperless-ngx/data";
|
||||
nextcloud.path = "nextcloud/data";
|
||||
forgejo.path = "forgejo/data";
|
||||
forgejo-runner-data.path = "forgejo/runner/data";
|
||||
forgejo-runner-certs.path = "forgejo/runner/certs";
|
||||
|
|
Loading…
Reference in a new issue