nixos-config/hosts/voyager/containers.nix

20 lines
436 B
Nix
Raw Normal View History

2023-04-16 16:49:08 +02:00
{ config, pkgs, lib, ... }:
2023-04-15 20:44:47 +02:00
{
2023-04-16 16:49:08 +02:00
# Flame - Homelab dashboard/linktree
virtualisation.oci-containers.containers = {
2023-04-15 20:44:47 +02:00
flame = {
image = "pawelmalak/flame";
2023-04-16 16:49:08 +02:00
ports = [ "127.0.0.1:5005:5005" ];
2023-04-15 20:44:47 +02:00
volumes = [
"/var/lib/flame/data:/app/data/"
];
};
};
2023-04-16 16:49:08 +02:00
services.nginx.virtualHosts."flame.home.feal.no" = {
locations."/" = {
proxyPass = "http://127.0.0.1:5005";
};
};
2023-04-15 20:44:47 +02:00
}