Add wastebin
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 27m3s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 27m3s
This commit is contained in:
@@ -384,6 +384,10 @@ in
|
||||
};
|
||||
useACMEHost = pubDomain;
|
||||
};
|
||||
"pb.${pubDomain}" = {
|
||||
locations."/".proxyPass = "http://object-ctr.${domain}:8088";
|
||||
useACMEHost = pubDomain;
|
||||
};
|
||||
};
|
||||
|
||||
minio =
|
||||
|
@@ -49,6 +49,7 @@ in
|
||||
};
|
||||
"object/atticd.env" = {};
|
||||
"object/hedgedoc.env" = {};
|
||||
"object/wastebin.env" = {};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -58,6 +59,7 @@ in
|
||||
config.services.sharry.config.bind.port
|
||||
8069
|
||||
config.services.hedgedoc.settings.port
|
||||
8088
|
||||
];
|
||||
};
|
||||
|
||||
@@ -220,6 +222,15 @@ in
|
||||
allowEmailRegister = false;
|
||||
};
|
||||
};
|
||||
|
||||
wastebin = {
|
||||
enable = true;
|
||||
settings = {
|
||||
WASTEBIN_MAX_BODY_SIZE = "67108864"; # 16 MiB
|
||||
WASTEBIN_PASSWORD_SALT = "TeGhaemeer0Siez3";
|
||||
};
|
||||
extraSettingsFile = config.age.secrets."object/wastebin.env".path;
|
||||
};
|
||||
};
|
||||
}
|
||||
(mkIf config.my.build.isDevVM {
|
||||
|
Reference in New Issue
Block a user