decisions: init secrets

This commit is contained in:
Rouven Seifert 2024-02-03 20:17:06 +01:00
parent cd10890f1b
commit 826758e138
Signed by untrusted user: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 7 additions and 3 deletions

View file

@ -3,13 +3,16 @@ let
domain = "decisions.${config.networking.domain}";
in
{
sops.secrets."decisions_env" = { };
virtualisation.oci-containers = {
backend = "docker";
containers.decicions = {
image = "decisions";
volumes = [
"/var/lib/nextcloud/data/root/files/FSR/protokolle:/protokolle:ro"
];
environmentFiles = [
config.sops.secrets."strukturbot_env".path
];
extraOptions = [ "--network=host" ];
};
};