forked from MassTransit/Sample-Outbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (52 loc) · 1.42 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
version: "3.6"
services:
rabbitmq:
image: masstransit/rabbitmq:latest
ports:
- "5672:5672"
- "15672:15672"
postgres:
image: "postgres"
environment:
- "POSTGRES_PASSWORD=Password12!"
ports:
- 5432:5432
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14250:14250"
- "14268:14268"
- "14269:14269"
- "9411:9411"
api:
image: sample/api
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:80
- ConnectionStrings__Default=host=postgres;user id=postgres;password=Password12!;database=Outbox;
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SAMPLER_TYPE=remote
- JAEGER_SAMPLING_ENDPOINT=http://jaeger:5778/sampling
build:
context: ./src
dockerfile: Sample.Api/Dockerfile.api
ports:
- "5000:80"
service:
image: sample/worker
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings__Default=host=postgres;user id=postgres;password=Password12!;database=Outbox;
- JAEGER_AGENT_HOST=jaeger
- JAEGER_AGENT_PORT=6831
- JAEGER_SAMPLER_TYPE=remote
- JAEGER_SAMPLING_ENDPOINT=http://jaeger:5778/sampling
build:
context: ./src
dockerfile: Sample.Worker/Dockerfile.worker