mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
add gitlab runner
This commit is contained in:
parent
27a49b49bd
commit
be84903ec0
2 changed files with 132 additions and 0 deletions
|
@ -100,6 +100,21 @@
|
|||
'';
|
||||
|
||||
|
||||
services.nix-gitlab-runner = {
|
||||
enable = true;
|
||||
registrationConfigFile = "/var/lib/gitlab-runner/gitlab_runner";
|
||||
packages = with pkgs; [ coreutils su bash git ];
|
||||
};
|
||||
|
||||
|
||||
|
||||
services.nginx.virtualHosts."phd.julienmalka.me" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/home/gitlab-runner/artifacts";
|
||||
};
|
||||
|
||||
|
||||
services.grafana.enable = true;
|
||||
services.grafana.settings.server.http_port = 3000;
|
||||
services.prometheus = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue