-
Notifications
You must be signed in to change notification settings - Fork 0
/
jlab-deps.yaml
77 lines (70 loc) · 1.97 KB
/
jlab-deps.yaml
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
68
69
70
71
72
73
74
75
76
77
services:
kafka:
extends:
file: deps.yaml
service: kafka
registry:
extends:
file: deps.yaml
service: registry
cli:
extends:
file: deps.yaml
service: cli
environment:
- ALARMS=https://raw.githubusercontent.com/JeffersonLab/alarms/main/instances
- ALARMS_URL_CSV=aperture,bcm,beamdump,bels,blm,box,bpm,camac,crates,cryo,dempow,gun,harp,helicity,ioc,ion,laser,lcw,misc,mo,odh,radcon,rf,rfsep,trim,vacuum
effective:
extends:
file: deps.yaml
service: effective
oracle:
extends:
file: deps.yaml
service: oracle
keycloak:
extends:
file: deps.yaml
service: keycloak
epics2kafka:
image: jeffersonlab/jaws-epics2kafka:5.0.0
hostname: epics2kafka
container_name: epics2kafka
healthcheck:
test: test $(/scripts/show-status.sh | grep RUNNING | wc -l) -eq 2
start_period: 30s
start_interval: 5s
# interval: 30s # waiting for https://github.com/docker/compose/issues/10830
interval: 5s
timeout: 10s
retries: 5
depends_on:
jaws:
condition: service_healthy
ports:
- 8083:8083
environment:
BOOTSTRAP_SERVERS: "kafka:9092"
CONFIG_STORAGE_TOPIC: connect-configs
OFFSET_STORAGE_TOPIC: connect-offsets
STATUS_STORAGE_TOPIC: connect-status
volumes:
- ./container/epics2kafka/initdb.d:/config
registrations2epics:
image: jeffersonlab/jaws-registrations2epics:5.0.0
hostname: registrations2epics
container_name: registrations2epics
healthcheck:
test: test $(ps | grep jaws | wc -l) -gt 1
start_period: 30s
start_interval: 5s
# interval: 30s # waiting for https://github.com/docker/compose/issues/10830
interval: 5s
timeout: 10s
retries: 5
depends_on:
jaws:
condition: service_healthy
environment:
- BOOTSTRAP_SERVERS=kafka:9092
- SCHEMA_REGISTRY=http://registry:8081