setup microbin

This commit is contained in:
♥ Minnie ♥ 2023-11-18 13:03:46 +00:00
parent 2543e94915
commit b68b7f32fe

View file

@ -0,0 +1,26 @@
{ config, inputs, ... }:
{
age.secrets.microbin = {
# Environment variables for microbin
file = inputs.self + /secrets/microbin.age;
owner = "root";
group = "root";
};
virtualisation.oci-containers.containers = {
microbin = {
autoStart = true;
image = "danielszabo99/microbin:2.0.4";
ports = [
"8181:8080/tcp"
];
volumes = [
"/var/lib/microbin:/app/microbin_data:rw"
];
environmentFiles = [
config.age.secrets.microbin.path
];
};
};
}