nixfiles/hosts/koi/containers/sharkey/default.nix

24 lines
495 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";
locations."/" = {
proxyPass = "http://web.sharkey.docker/";
proxyWebsockets = true;
};
};
}