e2e: use normal selenium grid

This commit is contained in:
Jens Langhammer 2020-06-08 11:21:14 +02:00
parent 3b6e414d0f
commit a4a7ecd493
1 changed files with 25 additions and 10 deletions

View File

@ -1,17 +1,32 @@
version: '3.7' version: '3.7'
services: services:
hub: # hub:
image: dosel/zalenium # image: dosel/zalenium
command: start # command: start
ports: # ports:
- 4444:4444 # - 4444:4444
environment: # environment:
PULL_SELENIUM_IMAGE: 'true' # 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: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /dev/shm:/dev/shm
- /tmp/videos:/home/seluser/videos depends_on:
privileged: true - hub
environment:
HUB_HOST: hub
hub:
image: selenium/hub:3.14.0-gallium
ports:
- "4444:4444"
postgresql: postgresql:
image: postgres:11 image: postgres:11
restart: always restart: always