diff --git a/config/application-sonic-agent.yml b/config/application-sonic-agent.yml index 3dad6a03..259d85fe 100755 --- a/config/application-sonic-agent.yml +++ b/config/application-sonic-agent.yml @@ -1,28 +1,28 @@ sonic: agent: - # 替换为部署Agent机器的ipv4 + # Replace with ipv4 of the agent machine | 替换为部署Agent机器的ipv4 host: 192.168.1.1 - # 替换为Agent服务的端口,可以自行更改 + # Replace with the port of the agent service, which can be changed by yourself | 替换为Agent服务的端口,可以自行更改 port: 7777 - # 替换为前端新增Agent生成的key + # Replace with the key of agent generated by the new front-end | 替换为前端新增Agent生成的key key: 5aa13292-b9a8-408c-a091-d784d1f37472 server: - # 改成server的SONIC_SERVER_HOST + # Change to SONIC_SERVER_HOST of server | 改成server的SONIC_SERVER_HOST host: 192.168.1.1 - # 改成server的SONIC_SERVER_PORT + # Change to SONIC_SERVER_PORT of server | 改成server的SONIC_SERVER_PORT port: 3000 modules: android: - # 是否开启安卓模块 + # Whether to enable Android module | 是否开启安卓模块 enable: true - # 是否开启sonic-android-supply远程adb调试功能 + # Whether to enable sonic-android-supply module | 是否开启sonic-android-supply功能 use-sas: true ios: - # 如果不需要连接iOS设备,请将true改为false。开启的windows用户请确保本机已安装iTunes + # Whether to turn on the iOS module. Please ensure that iTunes is installed on this computer for Windows users | 是否开启iOS模块。开启的windows用户请确保本机已安装iTunes enable: true - # 替换为你自己使用的wda的bundleId,如果没有.xctrunner后缀会自动补全,建议使用公司的开发者证书 + # Replace with the bundleId of wda. If there is no. xcrunner suffix, it will be automatically completed. | 替换为wda的bundleId,如果没有.xctrunner后缀会自动补全 wda-bundle-id: com.sonic.WebDriverAgentRunner sgm: - # 是否开启sonic-go-mitmproxy网络抓包功能 + # Whether to enable the sonic-go-mitmproxy module | 是否开启sonic-go-mitmproxy功能 enable: true \ No newline at end of file diff --git a/src/main/docker/config/application-sonic-agent.yml b/src/main/docker/config/application-sonic-agent.yml index 7fbb425a..2265fc1c 100755 --- a/src/main/docker/config/application-sonic-agent.yml +++ b/src/main/docker/config/application-sonic-agent.yml @@ -1,27 +1,28 @@ sonic: agent: - # 替换为部署Agent机器的ipv4 + # Replace with ipv4 of the agent machine | 替换为部署Agent机器的ipv4 host: ${AGENT_HOST:192.168.0.2} - # 替换为Agent服务的端口,可以自行更改 + # Replace with the port of the agent service, which can be changed by yourself | 替换为Agent服务的端口,可以自行更改 port: ${AGENT_PORT:7777} - # 替换为前端新增Agent生成的key + # Replace with the key of agent generated by the new front-end | 替换为前端新增Agent生成的key key: ${AGENT_KEY:235a35fd-5d0d-4533-905d-30d32902a12b} server: - # 改成server的SONIC_SERVER_HOST + # Change to SONIC_SERVER_HOST of server | 改成server的SONIC_SERVER_HOST host: ${SONIC_SERVER_HOST:192.168.1.1} - # 改成server的SONIC_SERVER_PORT + # Change to SONIC_SERVER_PORT of server | 改成server的SONIC_SERVER_PORT port: ${SONIC_SERVER_PORT:3000} modules: android: - # 是否开启安卓模块 + # Whether to enable Android module | 是否开启安卓模块 enable: ${ANDROID_ENABLE:true} - # 是否开启sonic-android-supply远程adb调试功能 + # Whether to enable sonic-android-supply module | 是否开启sonic-android-supply功能 use-sas: ${USE_SAS:true} ios: - # 如果不需要连接iOS设备,请将true改为false。开启的windows用户请确保本机已安装iTunes + # Whether to turn on the iOS module. Please ensure that iTunes is installed on this computer for Windows users | 是否开启iOS模块。开启的windows用户请确保本机已安装iTunes enable: ${IOS_ENABLE:true} - # 替换为你自己使用的wda的bundleId,如果没有.xctrunner后缀会自动补全,建议使用公司的开发者证书 + # Replace with the bundleId of wda. If there is no. xcrunner suffix, it will be automatically completed. | 替换为wda的bundleId,如果没有.xctrunner后缀会自动补全 wda-bundle-id: ${WDA_BUNDLE_ID:com.facebook.WebDriverAgentRunner.xctrunner} sgm: + # Whether to enable the sonic-go-mitmproxy module | 是否开启sonic-go-mitmproxy功能 enable: ${SGM_ENABLE:true} \ No newline at end of file diff --git a/src/main/docker/docker-compose-zh.yml b/src/main/docker/docker-compose-zh.yml index 5160748e..a5ba0f28 100755 --- a/src/main/docker/docker-compose-zh.yml +++ b/src/main/docker/docker-compose-zh.yml @@ -3,24 +3,24 @@ services: sonic-agent: image: "dockerproxy.com/sonicorg/sonic-agent-linux:SONIC_VERSION" environment: - # 对应server的env配置,注意防火墙关闭对应端口 + # Change to SONIC_SERVER_HOST and SONIC_SERVER_PORT of server | 改成server的SONIC_SERVER_HOST和SONIC_SERVER_PORT - SONIC_SERVER_HOST=192.168.1.1 - SONIC_SERVER_PORT=3000 - # 替换为部署Agent机器的ipv4 + # Replace with ipv4 of the agent machine | 替换为部署Agent机器的ipv4 - AGENT_HOST=192.168.1.1 - # 替换为Agent服务的端口,可以自行更改 + # Replace with the port of the agent service, which can be changed by yourself | 替换为Agent服务的端口,可以自行更改 - AGENT_PORT=7777 - # 替换为前端新增Agent生成的key + # Replace with the key of agent generated by the new front-end | 替换为前端新增Agent生成的key - AGENT_KEY=29002272-4659-4808-a804-08ce3388b136 - # 是否使用安卓模块 + # Whether to enable Android module | 是否开启安卓模块 - ANDROID_ENABLE=true - # 是否开启sonic-android-supply远程adb调试功能 + # Whether to enable sonic-android-supply module | 是否开启sonic-android-supply功能 - USE_SAS=true - # 是否使用iOS模块 + # Whether to turn on the iOS module. | 是否开启iOS模块 - IOS_ENABLE=true - # 替换为你自己使用的wda的bundleId,如果没有.xctrunner后缀会自动补全,建议使用公司的开发者证书 + # Replace with the bundleId of wda. If there is no. xcrunner suffix, it will be automatically completed. | 替换为wda的bundleId,如果没有.xctrunner后缀会自动补全 - WDA_BUNDLE_ID=com.facebook.WebDriverAgentRunner.xctrunner - # 是否开启sonic-go-mitmproxy网络抓包功能 + # Whether to enable the sonic-go-mitmproxy module | 是否开启sonic-go-mitmproxy功能 - SGM_ENABLE=true network_mode: "host" privileged: true diff --git a/src/main/docker/docker-compose.yml b/src/main/docker/docker-compose.yml index 9e615751..fbae32b4 100755 --- a/src/main/docker/docker-compose.yml +++ b/src/main/docker/docker-compose.yml @@ -3,24 +3,24 @@ services: sonic-agent: image: "sonicorg/sonic-agent-linux:SONIC_VERSION" environment: - # 对应server的env配置,注意防火墙关闭对应端口 + # Change to SONIC_SERVER_HOST and SONIC_SERVER_PORT of server | 改成server的SONIC_SERVER_HOST和SONIC_SERVER_PORT - SONIC_SERVER_HOST=192.168.1.1 - SONIC_SERVER_PORT=3000 - # 替换为部署Agent机器的ipv4 + # Replace with ipv4 of the agent machine | 替换为部署Agent机器的ipv4 - AGENT_HOST=192.168.1.1 - # 替换为Agent服务的端口,可以自行更改 + # Replace with the port of the agent service, which can be changed by yourself | 替换为Agent服务的端口,可以自行更改 - AGENT_PORT=7777 - # 替换为前端新增Agent生成的key + # Replace with the key of agent generated by the new front-end | 替换为前端新增Agent生成的key - AGENT_KEY=29002272-4659-4808-a804-08ce3388b136 - # 是否使用安卓模块 + # Whether to enable Android module | 是否开启安卓模块 - ANDROID_ENABLE=true - # 是否开启sonic-android-supply远程adb调试功能 + # Whether to enable sonic-android-supply module | 是否开启sonic-android-supply功能 - USE_SAS=true - # 是否使用iOS模块 + # Whether to turn on the iOS module. | 是否开启iOS模块 - IOS_ENABLE=true - # 替换为你自己使用的wda的bundleId,如果没有.xctrunner后缀会自动补全,建议使用公司的开发者证书 + # Replace with the bundleId of wda. If there is no. xcrunner suffix, it will be automatically completed. | 替换为wda的bundleId,如果没有.xctrunner后缀会自动补全 - WDA_BUNDLE_ID=com.facebook.WebDriverAgentRunner.xctrunner - # 是否开启sonic-go-mitmproxy网络抓包功能 + # Whether to enable the sonic-go-mitmproxy module | 是否开启sonic-go-mitmproxy功能 - SGM_ENABLE=true network_mode: "host" privileged: true