containers: rename sevices to arion-*
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
9e368e5f80
commit
e98e4f41f3
11 changed files with 234 additions and 278 deletions
|
@ -12,10 +12,7 @@ in {
|
|||
#?? arion-actualbudget pull
|
||||
environment.shellAliases.arion-actualbudget = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.actualbudget.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.actualbudget = {
|
||||
serviceName = "actualbudget";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.actualbudget.settings.services = {
|
||||
actualbudget.service = {
|
||||
container_name = "actualbudget";
|
||||
image = "actualbudget/actual-server:24.9.0";
|
||||
|
@ -26,5 +23,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,10 +21,7 @@ in {
|
|||
#?? arion-coturn pull
|
||||
environment.shellAliases.arion-coturn = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.coturn.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.coturn = {
|
||||
serviceName = "coturn";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.coturn.settings.services = {
|
||||
# https://conduwuit.puppyirl.gay/turn.html
|
||||
coturn.service = {
|
||||
container_name = "coturn";
|
||||
|
@ -37,7 +34,6 @@ in {
|
|||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# TODO: Use nobody:nogroup instead when docker allows changing mount ownership
|
||||
# HACK: Copy with global read-only permissions in container directory which is assumed to be locked down
|
||||
|
|
|
@ -24,10 +24,7 @@ in {
|
|||
|
||||
networking.firewall.allowedTCPPorts = [22]; # SSH
|
||||
|
||||
virtualisation.arion.projects.forgejo = {
|
||||
serviceName = "forgejo";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.forgejo.settings.services = {
|
||||
# https://codeberg.org/forgejo/forgejo
|
||||
# https://forgejo.org/docs/latest/admin/
|
||||
#?? docker exec -it forgejo bash
|
||||
|
@ -55,5 +52,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,10 +21,7 @@ in {
|
|||
#?? arion-foundryvtt pull
|
||||
environment.shellAliases.arion-foundryvtt = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.foundryvtt.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.foundryvtt = {
|
||||
serviceName = "foundryvtt";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.foundryvtt.settings.services = {
|
||||
foundryvtt.service = {
|
||||
container_name = "foundryvtt";
|
||||
env_file = [config.age.secrets."${config.custom.profile}/foundryvtt/.env".path];
|
||||
|
@ -35,5 +32,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,10 +22,7 @@ in {
|
|||
#?? arion-headscale pull
|
||||
environment.shellAliases.arion-headscale = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.headscale.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.headscale = {
|
||||
serviceName = "headscale";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.headscale.settings.services = {
|
||||
# https://headscale.net/
|
||||
# https://github.com/juanfont/headscale
|
||||
# BUG: Does not support generic DoH/DoT
|
||||
|
@ -57,5 +54,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,10 +12,7 @@ in {
|
|||
#?? arion-homeassistant pull
|
||||
environment.shellAliases.arion-homeassistant = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.homeassistant.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.homeassistant = {
|
||||
serviceName = "homeassistant";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.homeassistant.settings.services = {
|
||||
homeassistant.service = {
|
||||
container_name = "homeassistant";
|
||||
image = "homeassistant/home-assistant:2024.9.1";
|
||||
|
@ -25,5 +22,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,10 +22,7 @@ in {
|
|||
#?? arion-mastodon pull
|
||||
environment.shellAliases.arion-mastodon = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.mastodon.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.mastodon = {
|
||||
serviceName = "mastodon";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.mastodon.settings.services = {
|
||||
# https://github.com/linuxserver/docker-mastodon
|
||||
# https://github.com/mastodon/mastodon/blob/main/docker-compose.yml
|
||||
mastodon.service = {
|
||||
|
@ -58,5 +55,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -24,11 +24,8 @@ in {
|
|||
environment.shellAliases.arion-netbox = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.netbox.settings.out.dockerComposeYaml}";
|
||||
|
||||
# https://github.com/netbox-community/netbox-docker
|
||||
virtualisation.arion.projects.netbox = {
|
||||
serviceName = "netbox";
|
||||
|
||||
# https://github.com/netbox-community/netbox-docker/blob/release/docker-compose.yml
|
||||
settings.services = let
|
||||
virtualisation.arion.projects.netbox.settings.services = let
|
||||
netbox = {
|
||||
container_name = "netbox";
|
||||
depends_on = ["cache" "db"];
|
||||
|
@ -82,7 +79,6 @@ in {
|
|||
volumes = ["${config.custom.containers.directory}/netbox/db:/var/lib/postgresql/data"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#!! Required for correct volume permissions
|
||||
systemd.tmpfiles.rules = ["z ${config.custom.containers.directory}/netbox/media 0770 999 root"]; # unit:root
|
||||
|
|
|
@ -22,10 +22,7 @@ in {
|
|||
#?? arion-nextcloud pull
|
||||
environment.shellAliases.arion-nextcloud = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.nextcloud.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.nextcloud = {
|
||||
serviceName = "nextcloud";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.nextcloud.settings.services = {
|
||||
# https://github.com/nextcloud/docker
|
||||
nextcloud.service = {
|
||||
container_name = "nextcloud";
|
||||
|
@ -78,5 +75,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,10 +12,7 @@ in {
|
|||
#?? arion-redlib pull
|
||||
environment.shellAliases.arion-redlib = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.redlib.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.redlib = {
|
||||
serviceName = "redlib";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.redlib.settings.services = {
|
||||
redlib.service = {
|
||||
container_name = "redlib";
|
||||
image = "quay.io/redlib/redlib:latest";
|
||||
|
@ -32,5 +29,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,10 +21,7 @@ in {
|
|||
#?? arion-searxng pull
|
||||
environment.shellAliases.arion-searxng = "sudo arion --prebuilt-file ${config.virtualisation.arion.projects.searxng.settings.out.dockerComposeYaml}";
|
||||
|
||||
virtualisation.arion.projects.searxng = {
|
||||
serviceName = "searxng";
|
||||
|
||||
settings.services = {
|
||||
virtualisation.arion.projects.searxng.settings.services = {
|
||||
# https://github.com/searxng/searxng
|
||||
# https://github.com/searxng/searxng-docker
|
||||
searxng.service = {
|
||||
|
@ -50,5 +47,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue