e2e: use normal selenium grid
This commit is contained in:
parent
3b6e414d0f
commit
a4a7ecd493
|
@ -1,17 +1,32 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
hub:
|
||||
image: dosel/zalenium
|
||||
command: start
|
||||
ports:
|
||||
- 4444:4444
|
||||
environment:
|
||||
PULL_SELENIUM_IMAGE: 'true'
|
||||
# hub:
|
||||
# image: dosel/zalenium
|
||||
# command: start
|
||||
# ports:
|
||||
# - 4444:4444
|
||||
# environment:
|
||||
# PULL_SELENIUM_IMAGE: 'true'
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
# - /tmp/videos:/home/seluser/videos
|
||||
# privileged: true
|
||||
chrome:
|
||||
image: selenium/node-chrome:3.14.0-gallium
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /tmp/videos:/home/seluser/videos
|
||||
privileged: true
|
||||
- /dev/shm:/dev/shm
|
||||
depends_on:
|
||||
- hub
|
||||
environment:
|
||||
HUB_HOST: hub
|
||||
|
||||
hub:
|
||||
image: selenium/hub:3.14.0-gallium
|
||||
ports:
|
||||
- "4444:4444"
|
||||
|
||||
|
||||
postgresql:
|
||||
image: postgres:11
|
||||
restart: always
|
||||
|
|
Reference in New Issue