Move jupiter containers to mass storage

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-07-01 11:13:13 +01:00
parent f315e11ba1
commit 94d0f4e984
3 changed files with 20 additions and 7 deletions

View File

@@ -47,6 +47,7 @@ in
'setup_create_db_user' => false,
'upgrade.disable-web' => true,
'integrity.check.disabled' => true,
'logfile' => '/var/log/nextcloud/nextcloud.log',
'trusted_domains' => array (
0 => 'cloud.karaolidis.com',
@@ -150,15 +151,18 @@ in
};
};
systemd.user.tmpfiles.rules = [
"d /mnt/storage/private/storm/containers/storage/volumes/nextcloud-data/_data 700 storm storm"
];
virtualisation.quadlet = {
networks.nextcloud.networkConfig.internal = true;
volumes = {
nextcloud-postgresql = { };
nextcloud-log = { };
nextcloud-config = { };
nextcloud-apps = { };
# TODO: Move to mass storage
nextcloud-data = { };
};
containers = {
@@ -170,7 +174,8 @@ in
networks.traefik.ref
];
volumes = [
"${volumes.nextcloud-data.ref}:/var/lib/nextcloud"
"/mnt/storage/private/storm/containers/storage/volumes/nextcloud-data/_data:/var/lib/nextcloud"
"${volumes.nextcloud-log.ref}:/var/log/nextcloud"
"${volumes.nextcloud-config.ref}:/var/www/nextcloud/config"
"${volumes.nextcloud-apps.ref}:/var/www/nextcloud/apps"
"${hmConfig.sops.templates.nextcloud.path}:/var/www/nextcloud/config/override.config.php:ro"