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