nixfiles/hosts/koi/containers/sharkey/default.nix
teidesu 6480920fde
feat(koi): sharkey improvements
- updated to latest develop
- fixed nginx upload limit
- added locale and stats patching
2024-03-14 14:32:28 +03:00

28 lines
562 B
Nix

{ abs, pkgs, ... }@inputs:
{
imports = [
((import (abs "lib/containers.nix") inputs).mkDockerComposeContainer {
directory = ./.;
})
];
systemd.tmpfiles.rules = [
"d /mnt/puffer/Sharkey 0777 root root -"
"d /srv/Sharkey 0777 root root -"
];
services.nginx.virtualHosts."very.stupid.fish" = {
forceSSL = true;
useACMEHost = "stupid.fish";
extraConfig = ''
client_max_body_size 250M;
'';
locations."/" = {
proxyPass = "http://web.sharkey.docker/";
proxyWebsockets = true;
};
};
}