-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (59 loc) · 1.93 KB
/
docker-compose.yml
File metadata and controls
64 lines (59 loc) · 1.93 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
services:
mariadb:
image: mariadb:10.6
container_name: eb-db-test
environment:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "eb_test"
MYSQL_USER: "eb_testrw"
MYSQL_PASSWORD: "secret"
MYSQL_INITDB_SKIP_TZINFO: 1
volumes:
- eb-mysql-test-data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 2s
retries: 20
interval: 2s
engine.dev.openconext.local:
build:
context: ../
# override this in a dedicated dockerfile per php version
# dockerfile: docker/ci/Dockerfile
container_name: eb-phpfpm
# Local debugging
# ports:
# - 443:443
volumes:
- ../:/var/www/html
- ../ci/qa-config/files/engine.dev.openconext.local.crt:/config/engine/engineblock.crt
- ../ci/qa-config/files/engine.dev.openconext.local.key:/config/engine/engineblock.pem
depends_on:
mariadb:
condition: service_healthy
environment:
APP_ENV: ci
APP_SECRET: secret
APP_DEBUG: false
chrome.dev.openconext.local:
image: alpeware/chrome-headless-trunk
ports:
- 9222:9222
environment:
- CHROME_OPTS=--ignore-certificate-errors --window-size=1920,1080 --ignore-ssl-errors
volumes:
- /tmp/chromedata/:/data
# Remove commands for local X11 debugging
cypress:
image: "cypress/included:15.13.1"
environment:
- CYPRESS_baseUrl=https://engine.dev.openconext.local
# - DISPLAY=${DISPLAY}
working_dir: /e2e/
entrypoint: cypress open --project .
volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
- ../tests/e2e:/e2e
- ../theme:/theme
volumes:
eb-mysql-test-data: