-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from SonicCloudOrg/dev
Dev
- Loading branch information
Showing
4 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: '3' | ||
services: | ||
sonic-agent: | ||
image: "sonicorg/sonic-agent-linux:v1.4.0-beta" | ||
environment: | ||
- ZOOKEEPER_HOST=192.168.1.1 | ||
- ZOOKEEPER_PORT=2181 | ||
# 替换为部署Agent机器的ipv4 | ||
- AGENT_HOST=192.168.1.1 | ||
# 替换为Agent服务的端口,可以自行更改 | ||
- AGENT_PORT=7777 | ||
# 替换为前端新增Agent生成的key | ||
- AGENT_KEY=29002272-4659-4808-a804-08ce3388b136 | ||
# 是否使用Sonic机柜,可以前往https://sonic-cloud.gitee.io/#/Cabinet了解更多 | ||
- CABINET_ENABLE=true | ||
- CABINET_STOREY=1 | ||
- CABINET_KEY=e33cd65c-a40e-431f-9e65-4a91bac6f487 | ||
# 是否使用安卓模块 | ||
- ANDROID_ENABLE=true | ||
# 是否开启远程adb调试功能 | ||
- USE_ADBKIT=true | ||
# 是否使用iOS模块 | ||
- IOS_ENABLE=true | ||
# 替换为你自己使用的wda的bundleId,如果没有.xctrunner后缀会自动补全,建议使用公司的开发者证书 | ||
- WDA_BUNDLE_ID=com.facebook.WebDriverAgentRunner.xctrunner | ||
# 是否启用Appium | ||
- APPIUM_ENABLE=true | ||
# 是否启用webview调试功能 | ||
- WEBVIEW_ENABLE=true | ||
# 谷歌调试端口,一般不需要修改(默认0使用随机端口,如果需要开启防火墙给外部使用,请设置固定端口如7778) | ||
- CHROME_DRIVER_PORT=0 | ||
# 是否开启sonic-go-mitmproxy代理功能 | ||
- SGM_ENABLE=true | ||
network_mode: "host" | ||
privileged: true | ||
volumes: | ||
- /dev/bus/usb:/dev/bus/usb | ||
- /var/run/usbmuxd:/var/run/usbmuxd |