From dffa1d96cf60cc0e428ea112df8d1b36f8b35428 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 7 Dec 2023 08:04:38 +0100 Subject: [PATCH] try with env --- hosts/fw.cloonar.com/modules/gitea.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index 07852f2..0c7a67f 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -132,9 +132,18 @@ in "ubuntu-latest:docker://shivammathur/node:latest" ]; settings = { - container = { - options = "--network=server"; + runner = { + envs = { + DOCKER_DAEMON_CONFIG = '' + { + "dns": ["10.42.97.10"] + } + ''; + }; }; + # container = { + # options = "--network=server"; + # }; }; };