forked from kit-data-manager/testbed4inf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (58 loc) · 1.46 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
58
59
60
61
62
63
64
version: '3'
services:
fairdoscope:
container_name: fairdoscope
build:
context: ./fairdoscope
ports:
- "8081:80"
collectionapi:
container_name: collectionapi
image: kitdm/collection-api
ports:
- "8091:8080"
pit-service:
container_name: pit-service
image: ghcr.io/kit-data-manager/typed-pid-maker:latest
volumes:
- "./pit-service/config:/app/config:ro"
- "./pit-service/data:/data"
#command: ["bootstrap", "all-pids-from-prefix"]
#build:
# context: . # without this context, the dockerfile can not access the java-release-run.sh and similar files.
# dockerfile: ./pit-service/Dockerfile
ports:
- "8090:8090"
depends_on:
messagebroker:
condition: service_started
elasticsearch:
condition: service_healthy
messagebroker:
container_name: messagebroker
image: rabbitmq:3-management-alpine
ports:
- "5672:5672"
- "15672:15672"
elasticsearch:
container_name: elasticsearch
image: elasticsearch:8.8.1
environment:
- discovery.type=single-node
- xpack.security.enabled=false
ports:
- "9200:9200"
- "9300:9300"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200"]
interval: 5s
timeout: 2s
retries: 40
start_period: 70s
kibana:
container_name: kibana
image: kibana:8.8.1
ports:
- "5601:5601"
depends_on:
- elasticsearch