This commit is contained in:
Sakooooo 2025-01-04 21:37:04 +04:00
parent 0f621d58e2
commit 73f8be22ff
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -16,13 +16,14 @@ in {
}; };
# LOL get it, a man is in a pod LMAO XDDDDD ROFL # LOL get it, a man is in a pod LMAO XDDDDD ROFL
virtualisation.podman = { # virtualisation.podman = {
enable = true; # enable = true;
defaultNetwork.settings = { # defaultNetwork.settings = {
# dns_enabled = true; # # dns_enabled = true;
dns = "127.0.0.1"; # dns = "127.0.0.1";
}; # };
}; # };
virtualisation.docker.enable = true;
# # This is needed for podman to be able to talk over dns # # This is needed for podman to be able to talk over dns
# networking.firewall.interfaces."podman0" = { # networking.firewall.interfaces."podman0" = {
@ -54,7 +55,7 @@ in {
environment = { environment = {
WOODPECKER_SERVER = "localhost:9000"; WOODPECKER_SERVER = "localhost:9000";
WOODPECKER_MAX_WORKFLOWS = "1"; WOODPECKER_MAX_WORKFLOWS = "1";
DOCKER_HOST = "unix:///run/podman/podman.sock"; # DOCKER_HOST = "unix:///run/podman/podman.sock";
WOODPECKER_BACKEND = "docker"; WOODPECKER_BACKEND = "docker";
WOODPECKER_HEALTHCHECK_ADDR = ":3001"; WOODPECKER_HEALTHCHECK_ADDR = ":3001";
}; };