e2e: use normal selenium grid

This commit is contained in:
Jens Langhammer 2020-06-08 11:21:14 +02:00
parent 3b6e414d0f
commit a4a7ecd493

View file

@ -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