2021-09-16 09:46:38 +02:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
chrome:
|
2022-01-11 11:33:20 +02:00
|
|
|
image: selenium/node-chrome:4
|
2021-09-16 09:46:38 +02:00
|
|
|
ports:
|
2022-01-11 11:33:20 +02:00
|
|
|
- "5900:5900"
|
|
|
|
- "7900:7900"
|
2021-09-16 09:46:38 +02:00
|
|
|
environment:
|
2022-01-11 11:33:20 +02:00
|
|
|
- SE_EVENT_BUS_HOST=hub
|
|
|
|
- SE_EVENT_BUS_PUBLISH_PORT=4442
|
|
|
|
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
|
|
|
|
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
|
|
|
|
- SE_NODE_MAX_SESSIONS=4
|
|
|
|
- SE_NODE_SESSION_TIMEOUT=180
|
|
|
|
- START_XVFB=true
|
|
|
|
- VNC_NO_PASSWORD=1
|
|
|
|
- VNC_VIEW_ONLY=1
|
|
|
|
extra_hosts:
|
|
|
|
- hub:x.x.x.x
|
2021-09-16 09:46:38 +02:00
|
|
|
shm_size: 2gb
|
|
|
|
restart: unless-stopped
|