-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdocker-compose-coverage.yaml
More file actions
64 lines (60 loc) · 1.71 KB
/
docker-compose-coverage.yaml
File metadata and controls
64 lines (60 loc) · 1.71 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
version: '3.3'
services:
graphdb:
image: docker-registry.ontotext.com/graphdb:${GDB_VERSION}
environment:
GDB_JAVA_OPTS: >-
-Dgraphdb.workbench.importDirectory=/opt/home/import-data/
-Dgraphdb.jsonld.whitelist=https://w3c.github.io/json-ld-api/tests/*
-Dgraphdb.stats.default=disabled
-Dgraphdb.foreground=
-Dgraphdb.logger.root.level=ERROR
ports:
- '7200:7200'
volumes:
- ./e2e-tests/fixtures/graphdb-import:/opt/home/import-data/
- ./e2e-tests/fixtures/graphdb.license:/opt/graphdb/home/conf/graphdb.license
networks:
- single-spa-network
healthcheck:
test: ["CMD-SHELL", "curl -f -H 'Accept: text/html' ${GRAPHDB_URL}/index.html"]
interval: 10s
timeout: 5s
retries: 5
workbench:
build:
context: .
dockerfile: workbench.Dockerfile
environment:
GRAPHDB_URL: ${GRAPHDB_URL}
WORKBENCH_PORT: ${WORKBENCH_PORT}
depends_on:
- graphdb
ports:
- ${WORKBENCH_PORT}
networks:
- single-spa-network
healthcheck:
test: ["CMD-SHELL", "apk add --no-cache curl && curl -f -H 'Accept: */*' http://workbench:${WORKBENCH_PORT}"]
interval: 10s
timeout: 5s
retries: 5
cypress:
image: cypress/included:14.5.1
depends_on:
- workbench
environment:
- CYPRESS_baseUrl=http://workbench:${WORKBENCH_PORT}
- COVERAGE=true
- NO_COLOR=true
user: "${UID}:${GID}"
working_dir: /e2e
volumes:
- ./e2e-tests:/e2e
- ${PWD}/packages:${PWD}/packages:cached
entrypoint: ["npm", "run", "cy:run-legacy:coverage"]
networks:
- single-spa-network
networks:
single-spa-network:
driver: bridge