Move jupiter containers to mass storage
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -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 = {
|
virtualisation.quadlet = {
|
||||||
networks.gitea.networkConfig.internal = true;
|
networks.gitea.networkConfig.internal = true;
|
||||||
|
|
||||||
volumes = {
|
volumes = {
|
||||||
gitea-postgresql = { };
|
gitea-postgresql = { };
|
||||||
# TODO: Move LFS to mass storage
|
|
||||||
gitea = { };
|
gitea = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -221,6 +224,7 @@ in
|
|||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
"${volumes.gitea.ref}:/var/lib/gitea/data"
|
"${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"
|
"${hmConfig.sops.templates.gitea.path}:/etc/gitea/app.ini:ro"
|
||||||
"${entrypoint}:/entrypoint.sh:ro"
|
"${entrypoint}:/entrypoint.sh:ro"
|
||||||
];
|
];
|
||||||
|
@@ -47,6 +47,7 @@ in
|
|||||||
'setup_create_db_user' => false,
|
'setup_create_db_user' => false,
|
||||||
'upgrade.disable-web' => true,
|
'upgrade.disable-web' => true,
|
||||||
'integrity.check.disabled' => true,
|
'integrity.check.disabled' => true,
|
||||||
|
'logfile' => '/var/log/nextcloud/nextcloud.log',
|
||||||
|
|
||||||
'trusted_domains' => array (
|
'trusted_domains' => array (
|
||||||
0 => 'cloud.karaolidis.com',
|
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 = {
|
virtualisation.quadlet = {
|
||||||
networks.nextcloud.networkConfig.internal = true;
|
networks.nextcloud.networkConfig.internal = true;
|
||||||
|
|
||||||
volumes = {
|
volumes = {
|
||||||
nextcloud-postgresql = { };
|
nextcloud-postgresql = { };
|
||||||
|
nextcloud-log = { };
|
||||||
nextcloud-config = { };
|
nextcloud-config = { };
|
||||||
nextcloud-apps = { };
|
nextcloud-apps = { };
|
||||||
# TODO: Move to mass storage
|
|
||||||
nextcloud-data = { };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
containers = {
|
containers = {
|
||||||
@@ -170,7 +174,8 @@ in
|
|||||||
networks.traefik.ref
|
networks.traefik.ref
|
||||||
];
|
];
|
||||||
volumes = [
|
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-config.ref}:/var/www/nextcloud/config"
|
||||||
"${volumes.nextcloud-apps.ref}:/var/www/nextcloud/apps"
|
"${volumes.nextcloud-apps.ref}:/var/www/nextcloud/apps"
|
||||||
"${hmConfig.sops.templates.nextcloud.path}:/var/www/nextcloud/config/override.config.php:ro"
|
"${hmConfig.sops.templates.nextcloud.path}:/var/www/nextcloud/config/override.config.php:ro"
|
||||||
|
@@ -77,14 +77,16 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.user.tmpfiles.rules = [
|
||||||
|
"d /mnt/storage/private/storm/containers/storage/volumes/outline/_data 700 storm storm"
|
||||||
|
];
|
||||||
|
|
||||||
virtualisation.quadlet = {
|
virtualisation.quadlet = {
|
||||||
networks.outline.networkConfig.internal = true;
|
networks.outline.networkConfig.internal = true;
|
||||||
|
|
||||||
volumes = {
|
volumes = {
|
||||||
outline-redis = { };
|
outline-redis = { };
|
||||||
outline-postgresql = { };
|
outline-postgresql = { };
|
||||||
# TODO: Move to mass storage
|
|
||||||
outline = { };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
containers = {
|
containers = {
|
||||||
@@ -95,7 +97,9 @@ in
|
|||||||
networks.outline.ref
|
networks.outline.ref
|
||||||
networks.traefik.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 = {
|
environments = {
|
||||||
URL = "https://docs.karaolidis.com";
|
URL = "https://docs.karaolidis.com";
|
||||||
PGSSLMODE = "disable";
|
PGSSLMODE = "disable";
|
||||||
|
Reference in New Issue
Block a user