use netowrk host and ipv6
This commit is contained in:
parent
2778612110
commit
ad83a15552
1 changed files with 4 additions and 2 deletions
|
@ -29,7 +29,8 @@ class grafana (
|
||||||
publish => [
|
publish => [
|
||||||
"${container_port}:3000",
|
"${container_port}:3000",
|
||||||
],
|
],
|
||||||
sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
|
#sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
|
||||||
|
network => 'host',
|
||||||
volume => [
|
volume => [
|
||||||
"${container_volume_name}:/var/lib/grafana",
|
"${container_volume_name}:/var/lib/grafana",
|
||||||
],
|
],
|
||||||
|
@ -61,7 +62,8 @@ class grafana (
|
||||||
publish => [
|
publish => [
|
||||||
"${container_port}:3000",
|
"${container_port}:3000",
|
||||||
],
|
],
|
||||||
sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
|
#sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
|
||||||
|
network => 'host',
|
||||||
volume => [
|
volume => [
|
||||||
"${container_data_folder}:/var/lib/grafana",
|
"${container_data_folder}:/var/lib/grafana",
|
||||||
"${container_config_folder}:/etc/grafana",
|
"${container_config_folder}:/etc/grafana",
|
||||||
|
|
Loading…
Reference in a new issue