use network host
This commit is contained in:
parent
de4d364840
commit
bb9bf8e65c
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ class prometheus (
|
|||
publish => [
|
||||
"${container_port}:9090",
|
||||
],
|
||||
network => 'host',
|
||||
sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
|
||||
volume => [
|
||||
"${container_volume_name}:/prometheus",
|
||||
|
@ -41,6 +42,7 @@ class prometheus (
|
|||
"${container_port}:9090",
|
||||
],
|
||||
sysctl => 'net.ipv6.conf.all.disable_ipv6=1',
|
||||
network => 'host',
|
||||
volume => [
|
||||
"${container_data_folder}:/prometheus",
|
||||
"${container_config_folder}:/etc/prometheus",
|
||||
|
|
Loading…
Reference in a new issue