From 300cf2a3d0e91ab7c81f7ca4b81dfb68c73a7d55 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 28 Nov 2024 10:17:34 +0100 Subject: [PATCH] XrootD: Try host networking --- templates/xrootd/docker-compose.erb.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/xrootd/docker-compose.erb.yml b/templates/xrootd/docker-compose.erb.yml index 64492109..da930d43 100644 --- a/templates/xrootd/docker-compose.erb.yml +++ b/templates/xrootd/docker-compose.erb.yml @@ -4,6 +4,7 @@ services: dns: - 89.32.32.32 hostname: <%= @hostname.split('.')[0] %> + network_mode: host extra_hosts: <%- @cms_allow_hosts.each do |extra_host| -%> - "<%= extra_host['name'] %>:<%= extra_host['ipv4'] %>" @@ -26,6 +27,7 @@ services: dns: - 89.32.32.32 hostname: <%= @hostname.split('.')[0] %> + network_mode: host extra_hosts: <%- @cms_allow_hosts.each do |extra_host| -%> - "<%= extra_host['name'] %>:<%= extra_host['ipv4'] %>"