forked from neugens/jmc-robots-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
container-compose.yaml
119 lines (112 loc) · 3.39 KB
/
container-compose.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
version: '3'
services:
robotmaker:
depends-on:
- otel
hostname: robotmaker
image: 'quay.io/rh-jmc-team/robotmaker:1.0.0-SNAPSHOT'
environment:
ROBOTMAKER_ADDR: robotmaker
QUARKUS_HTTP_PORT: '8080'
QUARKUS_OPENTELEMETRY_TRACER_EXPORTER_OTLP_ENDPOINT: http://otel:4317
JAVA_OPTIONS: >-
-Dcom.sun.management.autodiscovery=true
-Dcom.sun.management.jmxremote.port=9091
-Dcom.sun.management.jmxremote.rmi.port=9091
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=robotmaker
ports:
- 8080:8080
- 9091:9091
robotcontroller:
depends-on:
- robotmaker
hostname: robotcontroller
image: 'quay.io/rh-jmc-team/robotcontroller:1.0.0-SNAPSHOT'
environment:
QUARKUS_HTTP_PORT: '8081'
QUARKUS_OPENTELEMETRY_TRACER_EXPORTER_OTLP_ENDPOINT: http://otel:4317
robotMakerURL: 'http://robotmaker:8080'
JAVA_OPTIONS: >-
-Dcom.sun.management.autodiscovery=true
-Dcom.sun.management.jmxremote.port=9092
-Dcom.sun.management.jmxremote.rmi.port=9092
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=robotcontroller
ports:
- 8081:8081
- 9092:9092
robotshop:
depends-on:
- robotmaker
hostname: robotshop
image: 'quay.io/rh-jmc-team/robotshop:1.0.0-SNAPSHOT'
environment:
QUARKUS_HTTP_PORT: '8082'
QUARKUS_OPENTELEMETRY_TRACER_EXPORTER_OTLP_ENDPOINT: http://otel:4317
robotMakerURL: 'http://robotmaker:8080'
JAVA_OPTIONS: >-
-Dcom.sun.management.autodiscovery=true
-Dcom.sun.management.jmxremote.port=9093
-Dcom.sun.management.jmxremote.rmi.port=9093
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=robotshop
ports:
- 8082:8082
- 9093:9093
# TODO JDP doesn't work
cryostat:
hostname: cryostat
image: 'quay.io/cryostat/cryostat:2.0.0'
ports:
- 8181:8181
environment:
CRYOSTAT_WEB_HOST: 0.0.0.0
CRYOSTAT_WEB_PORT: 8181
CRYOSTAT_RJMX_PORT: 9999
CRYOSTAT_RMI_PORT: 9999
CRYOSTAT_CONFIG_PATH: '/opt/cryostat.d/conf.d'
CRYOSTAT_ARCHIVE_PATH: '/opt/cryostat.d/recordings.d'
CRYOSTAT_TEMPLATE_PATH: '/opt/cryostat.d/templates.d'
CRYOSTAT_CLIENTLIB_PATH: '/clientlib'
volumes:
- target: /opt/cryostat.d/recordings.d
type: tmpfs
- target: /certs
type: tmpfs
- target: /clientlib
type: tmpfs
- target: /opt/cryostat.d/conf.d
type: tmpfs
- target: /opt/cryostat.d/templates.d
type: tmpfs
- target: /truststore
type: tmpfs
otel:
hostname: otel
image: 'quay.io/rh-jmc-team/robots-opentelemetry:1.0.0'
build:
context: .
dockerfile: otel.containerfile
ports:
- 13133:13133
- 4317:4317
- 55681:55681
jaeger:
hostname: jaeger
image: jaegertracing/all-in-one:latest
ports:
- 16686:16686
- 14268:14268
- 14250:14250
prometheus:
hostname: prometheus
image: 'quay.io/rh-jmc-team/robots-prometheus-compose:1.0.0'
build:
context: .
dockerfile: prometheus-compose.containerfile
ports:
- 9090:9090