# Docker-ChromeDriver configuration for DDEV-Local. # There is one item that must be configured in this file in order for it to # work, please see below. services: chromedriver: image: drupalci/webdriver-chromedriver:production container_name: ddev-${DDEV_SITENAME}-chromedriver labels: com.ddev.site-name: ${DDEV_SITENAME} com.ddev.approot: $DDEV_APPROOT external_links: - ddev-router:${DDEV_SITENAME}.${DDEV_TLD} web: links: - chromedriver environment: # *** One of these must be uncommented *** # In order for the system to work, one of these must be uncommented so # that the test system can connect to the database. # - SIMPLETEST_DB=sqlite://tmp/test.sqlite # - SIMPLETEST_DB=mysql://db:db@db/db # # Note: Do not modify the base URL value. - SIMPLETEST_BASE_URL=http://web - BROWSERTEST_OUTPUT_DIRECTORY=/tmp - BROWSERTEST_OUTPUT_BASE_URL=${DDEV_PRIMARY_URL} - MINK_DRIVER_ARGS_WEBDRIVER=["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless", "--no-sandbox"]}}, "http://chromedriver:9515"]