This repository was archived by the owner on Mar 3, 2026. It is now read-only.
forked from localgovdrupal/drupal-container
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (64 loc) · 1.83 KB
/
docker-compose.yml
File metadata and controls
67 lines (64 loc) · 1.83 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
##
# LocalGov Drupal CI
---
services:
drupal:
image: localgovdrupal/apache-php:php8.3
container_name: drupal
depends_on:
database:
condition: service_healthy
chromedriver:
condition: service_started
ports:
- "80:80"
environment:
SIMPLETEST_BASE_URL: 'http://drupal'
SIMPLETEST_DB: 'mysql://database:database@database/database'
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName": "chrome", "goog:chromeOptions": {"args": ["--disable-gpu","--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://chromedriver:9515"]'
SYMFONY_DEPRECATIONS_HELPER: weak
extra_hosts:
- "group-a1.drupal:127.0.0.1"
- "group-a2.drupal:127.0.0.1"
- "group-a3.drupal:127.0.0.1"
- "group-b1.drupal:127.0.0.1"
- "group-b2.drupal:127.0.0.1"
- "group-b3.drupal:127.0.0.1"
- "group-0.drupal:127.0.0.1"
- "group-1.drupal:127.0.0.1"
- "group-2.drupal:127.0.0.1"
- "group-3.drupal:127.0.0.1"
- "group-4.drupal:127.0.0.1"
- "group-5.drupal:127.0.0.1"
volumes:
- ./html:/var/www/html
database:
image: mariadb:latest
container_name: database
ports:
- "3306:3306"
environment:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MARIADB_DATABASE: database
MARIADB_USER: database
MARIADB_PASSWORD: database
healthcheck:
test: ["CMD", "/usr/local/bin/healthcheck.sh", "--connect"]
timeout: 5s
retries: 100
chromedriver:
image: drupalci/webdriver-chromedriver:production
container_name: chromedriver
ulimits:
core:
soft: -1
hard: -1
ports:
- "4444:4444"
- "9515:9515"
entrypoint:
- chromedriver
- "--log-path=/tmp/chromedriver.log"
- "--verbose"
- "--allowed-ips="
- "--allowed-origins=*"