Deploy docuseal

master
Yorick van Pelt 2024-02-07 11:21:24 +01:00
parent 51adc8e340
commit 79bbc93738
Signed by: yorick
GPG Key ID: D8D3CC6D951384DE
1 changed files with 14 additions and 0 deletions

View File

@ -60,6 +60,14 @@
"pub.yori.cc".locations."/muflax/".extraConfig = ''
rewrite ^/muflax/(.*)$ https://alt.muflax.church/$1 permanent;
'';
"docuseal.yori.cc" = {
enableACME = true;
forceSSL = true;
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:3001";
};
};
};
};
@ -72,4 +80,10 @@
users.users.yorick.packages = with pkgs; [ sshfs-fuse weechat ripgrep ];
networking.firewall.allowedTCPPorts = [ 60307 ]; # weechat relay
virtualisation.oci-containers.containers.docuseal = {
image = "docuseal/docuseal:latest";
ports = [ "127.0.0.1:3001:3000" ];
volumes = [ "docuseal:/data" ];
};
}