nixfiles/hosts/koi/containers/sharkey/default.nix
2024-01-08 07:51:19 +03:00

23 lines
457 B
Nix

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