25 lines
535 B
YAML
25 lines
535 B
YAML
services:
|
|
appium:
|
|
build:
|
|
context: .
|
|
network: host
|
|
container_name: appium-adb
|
|
network_mode: host
|
|
devices:
|
|
- "/dev/bus/usb:/dev/bus/usb"
|
|
environment:
|
|
- PHONE_IP=${PHONE_IP:-}
|
|
- ADB_PORT=${ADB_PORT:-5555}
|
|
restart: unless-stopped
|
|
|
|
wa-appium-api:
|
|
build:
|
|
context: wa-appium-api
|
|
network: host
|
|
container_name: wa-appium-api
|
|
network_mode: host
|
|
environment:
|
|
- APPIUM_HOST=127.0.0.1
|
|
- APPIUM_PORT=4723
|
|
- PORT=3010
|
|
restart: unless-stopped
|