Skip to content

Instantly share code, notes, and snippets.

@yotavm
Created August 19, 2025 22:26
Show Gist options
  • Select an option

  • Save yotavm/606d821f8037c005016bc59f8c60c1e0 to your computer and use it in GitHub Desktop.

Select an option

Save yotavm/606d821f8037c005016bc59f8c60c1e0 to your computer and use it in GitHub Desktop.
version: "3.8"
services:
selenium-hub:
image: selenium/hub:4.15.0-20231023
container_name: selenium-hub
ports:
- "4444:4444" # Selenium Grid UI & hub
environment:
- GRID_BROWSER_TIMEOUT=300
- GRID_TIMEOUT=300
android-node:
image: budtmo/docker-android-x86-11.0
container_name: android-emulator
privileged: true
depends_on:
- selenium-hub
ports:
- "6080:6080" # noVNC web UI
- "4723:4723" # Appium server
- "5554:5554" # Emulator console
- "5555:5555" # ADB
environment:
- DEVICE=Samsung Galaxy S10
- APPIUM=true
- CONNECT_TO_GRID=true
- SELENIUM_HOST=selenium-hub
- MOBILE_WEB_TEST=true
- AUTO_RECORD=false
volumes:
- /dev/bus/usb:/dev/bus/usb # if you want USB passthrough (optional)
shm_size: 2g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment