具有 IP 动态的 SonarQube Web 服务器

SonarQube web server with IP dynamic

如何使用动态 IP 配置 sonar.web.host?每次 IP 更改时我都需要更改属性文件吗?

# Binding IP address. For servers with more than one IP address, this property specifies which
# address will be used for listening on the specified ports.
# By default, ports will be used on all IP addresses associated with the server.
sonar.web.host=xxx.xx.xx.xx

sonar.web.host 注释掉,SonarQube 将侦听所有 NIC,无论其 IP 地址如何。