diff --git a/config/application-sonic-agent.yml b/config/application-sonic-agent.yml index 9f6a0dc8..b212ef55 100644 --- a/config/application-sonic-agent.yml +++ b/config/application-sonic-agent.yml @@ -1,9 +1,9 @@ zookeeper: - # zookeeper的ip地址 除了开发环境,不推荐填localhost、127.0.0.1之类的配置 + # zookeeper的ip地址,对应server的zookeeper,不能填localhost、127.0.0.1之类的无效ipv4 registry-host: 127.0.0.1 # zookeeper的端口 registry-port: 2181 - # 本机网卡ip地址,开发、生产都禁止填localhost、127.0.0.1之类的配置 + # 本机网卡ip地址,不能填localhost、127.0.0.1之类的无效ipv4 instance-host: 192.168.0.2 # 一般不需要改动 diff --git a/plugins/sonic-go-mitmproxy.exe b/plugins/sonic-go-mitmproxy similarity index 64% rename from plugins/sonic-go-mitmproxy.exe rename to plugins/sonic-go-mitmproxy index 403348fa..3d793691 100644 Binary files a/plugins/sonic-go-mitmproxy.exe and b/plugins/sonic-go-mitmproxy differ diff --git a/plugins/sonic-ios-bridge b/plugins/sonic-ios-bridge new file mode 100644 index 00000000..5b14fd49 Binary files /dev/null and b/plugins/sonic-ios-bridge differ diff --git a/plugins/sonic-ios-bridge.exe b/plugins/sonic-ios-bridge.exe deleted file mode 100644 index 0af79587..00000000 Binary files a/plugins/sonic-ios-bridge.exe and /dev/null differ diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 4e929087..41f7c83a 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -86,4 +86,4 @@ ADD /plugins /root/plugins ADD /src/main/docker/config /root/config ADD /target/sonic-agent-linux-x86_64.jar /root RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime -ENTRYPOINT ["/root/jdk-17.0.3.1/bin/java","-server","-Dfile.encoding=utf-8","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","-jar","sonic-agent-linux-x86_64.jar"] +ENTRYPOINT ["/root/jdk-17.0.3.1/bin/java","-server","-Dfile.encoding=utf-8","-XX:-UseGCOverheadLimit","-XX:+DisableExplicitGC","-XX:SurvivorRatio=1","-XX:LargePageSizeInBytes=128M","-XX:SoftRefLRUPolicyMSPerMB=0","-Djava.security.egd=file:/dev/./urandom","--add-opens java.base/java.lang=ALL-UNNAMED","--add-opens java.base/java.util=ALL-UNNAMED","--add-opens java.base/java.math=ALL-UNNAMED","-jar","sonic-agent-linux-x86_64.jar"] diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index dd80f4a2..690da407 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -11,4 +11,4 @@ spring: sonic: saa: 2.0.0 sgm: 0.1.9 - sib: 1.0.5 \ No newline at end of file + sib: 1.0.6 \ No newline at end of file