Skip to content

Commit

Permalink
Merge branch 'feature/chrome-upgrade' into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
omarlopesino committed Feb 13, 2023
2 parents f07a432 + d49eead commit 9836a90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
6 changes: 4 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
22 changes: 4 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 9836a90

Please sign in to comment.