From a4a7ecd4931fc089516f909a9cafb79b95646ae2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 8 Jun 2020 11:21:14 +0200 Subject: [PATCH] e2e: use normal selenium grid --- e2e/docker-compose.yml | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/e2e/docker-compose.yml b/e2e/docker-compose.yml index 6158270e1..504b85b56 100644 --- a/e2e/docker-compose.yml +++ b/e2e/docker-compose.yml @@ -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