Fix transfer-sh deployment
ci / test (push) Failing after 39s Details
ci / deploy (push) Has been skipped Details

This commit is contained in:
ciapa 2024-04-11 15:09:18 +00:00
parent 214b5a62c4
commit 2716a5597e
1 changed files with 9 additions and 7 deletions

View File

@ -1,13 +1,15 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
networking.firewall.allowedTCPPorts = [ ];
services.transfer-sh = { services.transfer-sh = {
enable = true; enable = true;
openFirewall = true; settings = {
address = "192.168.99.201"; LISTENER = "192.168.99.201:6080";
HTTP_AUTH_HTPASSWD = "/run/secrets/services/nginx/transfersh.htpasswd"; HTTP_AUTH_HTPASSWD = "/run/secrets/services/nginx/transfersh.htpasswd";
TEMP_PATH = "/mnt/data/transfer-sh/temp"; TEMP_PATH = "/mnt/data/transfer-sh/temp";
BASEDIR = "/mnt/data/transfer-sh/store"; BASEDIR = "/mnt/data/transfer-sh/store";
EMAIL_CONTACT = "abuse@lewd.wtf"; EMAIL_CONTACT = "abuse@lewd.wtf";
PURGE_DAYS = "90"; PURGE_DAYS = "90";
};
}; };
} }