use netowrk host and ipv6

This commit is contained in:
Antonio J. Delgado 2023-02-17 13:33:41 +02:00
parent 2778612110
commit ad83a15552

View file

@ -29,7 +29,8 @@ class grafana (
publish => [
"${container_port}:3000",
],
sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
#sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
network => 'host',
volume => [
"${container_volume_name}:/var/lib/grafana",
],
@ -61,7 +62,8 @@ class grafana (
publish => [
"${container_port}:3000",
],
sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
#sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
network => 'host',
volume => [
"${container_data_folder}:/var/lib/grafana",
"${container_config_folder}:/etc/grafana",