feat: medama definition

This commit is contained in:
Guz
2025-04-04 20:13:16 -03:00
parent df64d59c96
commit 8c3ad684cd
2 changed files with 3 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
./anubis
./forgejo
./locales.nix
./medama.nix
./nh
./tailscale.nix
./xcaddy

View File

@@ -19,15 +19,13 @@ in {
virtualisation.oci-containers.containers.medama = {
image = "ghcr.io/medama-io/medama:v0.5.2";
autoStart = true;
ports = [
"${cfg.port}:8080"
];
extraOptions = ["--network=host"];
volumes = [
"/var/lib/medama/data:/app/data"
];
environment = {
AUTO_SLL = toString cfg.ssl;
PORT = toString 8080;
PORT = toString cfg.port;
};
};
};