| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- # To execute this docker compose yml file use `docker compose -f docker-compose-v3-full-grid.yml up`
- # Add the `-d` flag at the end for detached execution
- # To stop the execution, hit Ctrl+C, and then `docker compose -f docker-compose-v3-full-grid.yml down`
- services:
- selenium-event-bus:
- image: selenium/event-bus:4.37.0-20251020
- container_name: selenium-event-bus
- restart: unless-stopped
- ports:
- - "4442:4442"
- - "4443:4443"
- - "5557:5557"
- selenium-sessions:
- image: selenium/sessions:4.37.0-20251020
- container_name: selenium-sessions
- restart: unless-stopped
- ports:
- - "5556:5556"
- depends_on:
- - selenium-event-bus
- environment:
- - SE_EVENT_BUS_HOST=selenium-event-bus
- selenium-session-queue:
- image: selenium/session-queue:4.37.0-20251020
- container_name: selenium-session-queue
- restart: unless-stopped
- ports:
- - "5559:5559"
- selenium-distributor:
- image: selenium/distributor:4.37.0-20251020
- container_name: selenium-distributor
- restart: unless-stopped
- ports:
- - "5553:5553"
- depends_on:
- - selenium-event-bus
- - selenium-sessions
- - selenium-session-queue
- environment:
- - SE_EVENT_BUS_HOST=selenium-event-bus
- - SE_SESSIONS_MAP_HOST=selenium-sessions
- - SE_SESSION_QUEUE_HOST=selenium-session-queue
- selenium-router:
- image: selenium/router:4.37.0-20251020
- container_name: selenium-router
- restart: unless-stopped
- ports:
- - "4444:4444"
- depends_on:
- - selenium-distributor
- - selenium-sessions
- - selenium-session-queue
- environment:
- - SE_DISTRIBUTOR_HOST=selenium-distributor
- - SE_SESSIONS_MAP_HOST=selenium-sessions
- - SE_SESSION_QUEUE_HOST=selenium-session-queue
- chrome:
- image: selenium/node-chrome:4.37.0-20251020
- restart: unless-stopped
- platform: linux/amd64
- shm_size: 2gb
- depends_on:
- - selenium-event-bus
- environment:
- - SE_EVENT_BUS_HOST=selenium-event-bus
- - JAVA_OPTS=-Xmx1024m -Xms512m
- - SCREEN_WIDTH=1920
- - SCREEN_HEIGHT=1080
- - SCREEN_DEPTH=24
- - SCREEN_DPI=100
- - SE_NODE_SESSION_TIMEOUT=120
- ports:
- - "5900:5900"
- - "7900:7900"
- edge:
- image: selenium/node-edge:4.37.0-20251020
- restart: unless-stopped
- platform: linux/amd64
- shm_size: 2gb
- depends_on:
- - selenium-event-bus
- environment:
- - SE_EVENT_BUS_HOST=selenium-event-bus
- - SCREEN_WIDTH=1920
- - SCREEN_HEIGHT=1080
- - SCREEN_DEPTH=24
- - SCREEN_DPI=100
- - SE_NODE_SESSION_TIMEOUT=120
- ports:
- - "5901:5900"
- - "7901:7900"
- firefox:
- image: selenium/node-firefox:4.37.0-20251020
- restart: unless-stopped
- shm_size: 2gb
- depends_on:
- - selenium-event-bus
- environment:
- - SE_EVENT_BUS_HOST=selenium-event-bus
- - SCREEN_WIDTH=1920
- - SCREEN_HEIGHT=1080
- - SCREEN_DEPTH=24
- - SCREEN_DPI=100
- - SE_NODE_SESSION_TIMEOUT=120
- ports:
- - "5902:5900"
- - "7902:7900"
|