From a5322ef78845ccf31f354c15f19ff823ff3ec133 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 7 Dec 2023 10:09:33 +0100 Subject: [PATCH] change container network to host --- hosts/fw.cloonar.com/modules/gitea.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index e686237..8288fc6 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -131,6 +131,10 @@ in labels = [ "ubuntu-latest:docker://shivammathur/node:latest" ]; + settings = { + # the default network that also respects our dns server settings + container.network = "host"; + }; }; # containers.git-runner = {