forked from jobe-appstester/appstester_server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (58 loc) · 1.63 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
version: '3.9'
services:
controller:
build:
context: .
dockerfile: AppsTester.Controller/Dockerfile
environment:
ConnectionStrings__RabbitMq: amqp://root:root@rabbitmq:5672
android-checker:
build:
context: .
dockerfile: AppsTester.Checker.Android/Dockerfile
environment:
ConnectionStrings__RabbitMq: amqp://root:root@rabbitmq:5672
rabbitmq:
image: rabbitmq:3.8.26-management-alpine
ports:
- '5672:5672'
- '15672:15672'
environment:
RABBITMQ_DEFAULT_USER: 'root'
RABBITMQ_DEFAULT_PASS: 'root'
volumes:
- ./dev-data/rabbitmq_data:/var/lib/rabbitmq
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 30s
retries: 3
# OpenTelemetry Collector
otel-collector:
image: otel/opentelemetry-collector:0.67.0
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
- ./dev-data/otel/output:/etc/output # Store the logs
ports:
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "4317:4317" # OTLP gRPC receiver
prometheus:
image: prom/prometheus:v2.40.6
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
healthcheck:
test: wget -O - http://localhost:9090
interval: 10s
timeout: 15s
retries: 10
start_period: 40s
grafana:
image: grafana/grafana-oss:9.3.1
ports:
- "3000:3000"
volumes:
- ./dev-data/grafana/storage:/var/lib/grafana