fix(agent): disable socket proxy by default

This commit is contained in:
yusing
2025-05-10 12:26:06 +08:00
parent fc0dbd940c
commit e0e0fab127
3 changed files with 6 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ var (
AgentSkipClientCertCheck bool
AgentCACert string
AgentSSLCert string
DockerSocket string
)
func init() {
@@ -27,6 +28,7 @@ func init() {
}
func Load() {
DockerSocket = common.GetEnvString("DOCKER_SOCKET", "/var/run/docker.sock")
AgentName = common.GetEnvString("AGENT_NAME", DefaultAgentName())
AgentPort = common.GetEnvInt("AGENT_PORT", 8890)
AgentSkipClientCertCheck = common.GetEnvBool("AGENT_SKIP_CLIENT_CERT_CHECK", false)