nix-config/hosts/franz/arion/dashboard/arion-compose.nix

32 lines
876 B
Nix
Raw Normal View History

2024-03-07 16:57:10 +01:00
{pkgs, ...}: {
project.name = "dashboard";
networks.dmz = {
name = "dmz";
external = true;
};
services = {
homarr.service = {
2024-03-31 22:05:29 +02:00
image = "ghcr.io/ajnart/homarr:0.15.2";
2024-03-07 16:57:10 +01:00
container_name = "homarr";
labels = {
"traefik.enable" = "true";
"traefik.http.routers.homarr.entrypoints" = "websecure";
"traefik.http.routers.homarr.rule" = "Host(`dashboard.ghoscht.com`)";
"traefik.http.routers.homarr.tls" = "true";
"traefik.http.routers.homarr.tls.certresolver" = "letsencrypt";
};
volumes = [
2024-03-31 22:05:29 +02:00
"/storage/dataset/docker/dashboard/homarr_data:/data"
"/storage/dataset/docker/dashboard/homarr_config:/app/data/configs"
"/storage/dataset/docker/dashboard/homarr_icons:/app/public/imgs"
2024-03-07 16:57:10 +01:00
];
restart = "always";
networks = [
"dmz"
];
};
};
}