Skip to content

Commit 133003f

Browse files
committed
ci: use correct port for chromedriver
1 parent c304f67 commit 133003f

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

docker-compose.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
environment:
1717
SIMPLETEST_BASE_URL: 'http://drupal'
1818
SIMPLETEST_DB: 'mysql://database:database@database/database'
19-
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","chromeOptions":{"args":["--disable-gpu","--headless","--no-sandbox"]}}, "http://chromedriver:4444/wd/hub"]'
19+
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName": "chrome", "goog:chromeOptions": {"args": ["--disable-gpu","--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://chromedriver:9515"]'
2020
SYMFONY_DEPRECATIONS_HELPER: weak
2121
extra_hosts:
2222
- "group-a1.drupal:127.0.0.1"
@@ -49,12 +49,19 @@ services:
4949
timeout: 5s
5050
retries: 100
5151

52-
chromedriver:
52+
chrome:
5353
image: drupalci/webdriver-chromedriver:production
5454
container_name: chromedriver
55-
environment:
56-
START_XVBF: 'false'
55+
ulimits:
56+
core:
57+
soft: -1
58+
hard: -1
5759
ports:
5860
- "4444:4444"
59-
volumes:
60-
- /dev/shm:/dev/shm
61+
- "9515:9515"
62+
entrypoint:
63+
- chromedriver
64+
- "--log-path=/tmp/chromedriver.log"
65+
- "--verbose"
66+
- "--allowed-ips="
67+
- "--allowed-origins=*"

0 commit comments

Comments
 (0)