diff --git a/.env.example b/.env.example index 50d12a1..3b35d18 100644 --- a/.env.example +++ b/.env.example @@ -105,10 +105,10 @@ POSTGRES_TAG=13-1.16.0 TRAEFIK_TAG=v2.0 ### --- HUB --- -HUB_TAG=3.141.59-neon +HUB_TAG=4.1.3 ### --- CHROME --- -CHROME_TAG=3.141.59-neon +CHROME_TAG=4.1.3 ### --- BACKSTOPJS ---- BACKSTOPJS_TAG=6.1.4 @@ -127,3 +127,5 @@ SELENIUM_CHROME_TAG=3.141 WEBGRIND_TAG=1.8-1.20.0 XHPROF_TAG=2.7.0 MKDOCS_TAG=1.1.0 + +SHM_SIZE=256M \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 99de9ce..087103a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -178,31 +178,17 @@ services: hub: image: selenium/hub:$HUB_TAG container_name: ${PROJECT_NAME}_hub - #ports: - # - "4444:4444" chrome: image: selenium/node-chrome:$CHROME_TAG container_name: "${PROJECT_NAME}_chrome" + shm_size: ${SHM_SIZE} depends_on: - hub environment: - - HUB_HOST=hub -# - HUB_PORT=4444 - - # BUG: Standalone chrome image can't be used until this is resolved: - # https://bugs.chromium.org/p/chromedriver/issues/detail?id=3857 -# chrome: -# image: selenium/standalone-chrome:$SELENIUM_CHROME_TAG -# container_name: "${PROJECT_NAME}_chrome" -# entrypoint: -# - chromedriver -# - "--no-sandbox" -# - "--disable-dev-shm-usage" -# - "--log-path=/tmp/chromedriver.log" -# - "--verbose" -# - "--whitelisted-ips=" - + - SE_EVENT_BUS_HOST=hub + - SE_EVENT_BUS_PUBLISH_PORT=4442 + - SE_EVENT_BUS_SUBSCRIBE_PORT=4443 # phantomjs: # image: wernight/phantomjs:${PHANTOMJS_VERSION}