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

@@ -194,12 +194,15 @@ in
};
};
systemd.user.tmpfiles.rules = [
"d /mnt/storage/private/storm/containers/storage/volumes/gitea-lfs/_data 700 storm storm"
];
virtualisation.quadlet = {
networks.gitea.networkConfig.internal = true;
volumes = {
gitea-postgresql = { };
# TODO: Move LFS to mass storage
gitea = { };
};
@@ -221,6 +224,7 @@ in
];
volumes = [
"${volumes.gitea.ref}:/var/lib/gitea/data"
"/mnt/storage/private/storm/containers/storage/volumes/gitea-lfs/_data:/var/lib/gitea/data/lfs"
"${hmConfig.sops.templates.gitea.path}:/etc/gitea/app.ini:ro"
"${entrypoint}:/entrypoint.sh:ro"
];

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"

View File

@@ -77,14 +77,16 @@ in
};
};
systemd.user.tmpfiles.rules = [
"d /mnt/storage/private/storm/containers/storage/volumes/outline/_data 700 storm storm"
];
virtualisation.quadlet = {
networks.outline.networkConfig.internal = true;
volumes = {
outline-redis = { };
outline-postgresql = { };
# TODO: Move to mass storage
outline = { };
};
containers = {
@@ -95,7 +97,9 @@ in
networks.outline.ref
networks.traefik.ref
];
volumes = [ "${volumes.outline.ref}:/var/lib/outline/data" ];
volumes = [
"/mnt/storage/private/storm/containers/storage/volumes/outline/_data:/var/lib/outline/data"
];
environments = {
URL = "https://docs.karaolidis.com";
PGSSLMODE = "disable";