Add hydra server
parent
d4735ff7c3
commit
aadb34d9ce
|
@ -9,7 +9,8 @@
|
|||
./git.ewanick.com.nix
|
||||
./paperless.ewanick.com.nix
|
||||
|
||||
./fancytypist.com.nix
|
||||
# ./fancytypist.com.nix
|
||||
./hydra.fancyTypist.com.nix
|
||||
];
|
||||
|
||||
# when in doubt, clear away the certs with
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
let
|
||||
baseUrl = "hydra.fancyTypist.com";
|
||||
HOST = "localhost";
|
||||
PORT = "8246";
|
||||
in
|
||||
{
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
hydraURL = "https://${HOST}:${PORT}";
|
||||
notificationSender = "hydra@localhost";
|
||||
buildMachinesFiles = [ ];
|
||||
useSubstitutes = true;
|
||||
};
|
||||
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"${baseUrl}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy ${HOST}:${PORT}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue