forked from ddev/ddev-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.chromedriver.yaml
30 lines (28 loc) · 1.16 KB
/
docker-compose.chromedriver.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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.
version: '3.6'
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://ddev-<project>-db:db@db:3306/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","chromeOptions":{"args":["--disable-gpu","--headless", "--no-sandbox"]}}, "http://chromedriver:9515"]