-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 1.47 KB
/
docker-compose.yml
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
version: '3.5'
services:
jmeter:
container_name: graphdb_jmeter
image: jmeter:latest
build: .
environment:
- DISPLAY=${DISPLAY}
volumes:
- ${X11}:/tmp/.X11-unix
- ./tests:/home/jmeter
command: -n -t graphdb-performance-testing.jmx -l results/report.jtl -e -o results/output/
depends_on:
repository-initializer:
condition: service_completed_successfully
ldio-workbench:
condition: service_healthy
graphdb:
container_name: rdf4j_server
image: eclipse/rdf4j-workbench:4.3.4
ports:
- "8080:8080"
repository-initializer:
image: ubuntu
command: "/bin/sh /initializer/initialize.sh"
container_name: graphdb_repo-initializer
volumes:
- ./repository-initializer:/initializer:ro
depends_on:
graphdb:
condition: service_started
ldio-workbench:
image: ghcr.io/informatievlaanderen/ldi-orchestrator:20240311160234
container_name: graphdb_ldio-workbench
environment:
- SPRING_CONFIG_NAME=application
- SPRING_CONFIG_LOCATION=/config/
volumes:
- ./config/ldio-workbench.config.yml:/config/application.yml:ro
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8080/actuator/health"]
interval: 10s
timeout: 2s
retries: 10
ports:
- "8082:8080"
deploy:
resources:
limits:
cpus: '4'
memory: '2GB'
reservations:
cpus: '2'
memory: '1GB'