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.

Revisions

  1. yotavm created this gist Aug 19, 2025.
    33 changes: 33 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    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