-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (45 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
services:
# rescheduler:
# build:
# context: .
# dockerfile: src/Rescheduler.Api/Dockerfile
# volumes:
# - rescheduler-data:/app
# environment:
# LoggingFormat: "json"
# Messaging__RabbitMq__Enabled: "true"
# Messaging__RabbitMq__ConnectionString: "amqp://rabbitmq:rabbitmq@rabbitmq:5672/"
# Messaging__ServiceBus__Enabled: "false"
# Messaging__ServiceBus__PartitionedQueue: "false"
# Messaging__ServiceBus__ConnectionString: ""
# ASPNETCORE_ENVIRONMENT: Development
# ports:
# - "8080:80"
rabbitmq:
image: "rabbitmq:3-management-alpine"
hostname: "rabbit1"
volumes:
- ./docker/rabbitmq_plugins:/etc/rabbitmq/enabled_plugins
- rabbitmq-data:/var/lib/rabbitmq
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672" # management port
- "15692:15692" # metrics port
- "5672:5672"
otel-collector:
image: otel/opentelemetry-collector-contrib:0.100.0
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./docker/otel-config.yaml:/etc/otel-collector-config.yaml
ports:
- "1337:1337" # pprof extension
- "8080:8080" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
volumes:
rescheduler-data:
rabbitmq-data: