add podman sock to gitea runner

This commit is contained in:
2023-12-06 10:27:29 +01:00
parent f3cea82f12
commit ff0dab4b03

View File

@@ -124,15 +124,15 @@ in
containers.git-runner = {
autoStart = true;
ephemeral = true; # because of ssh key
ephemeral = false; # because of ssh key
macvlans = [ "vserver" ];
bindMounts = {
"/run/secrets/gitea-runner-token" = {
hostPath = config.sops.secrets.gitea-runner-token.path;
isReadOnly = true;
};
"/var/lib/gitea-runner" = {
hostPath = "/var/lib/gitea-runner/";
"/run/podman/podman.sock" = {
hostPath = "/run/podman/podman.sock";
isReadOnly = false;
};
};