-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.dotnet.yml
57 lines (52 loc) · 1.36 KB
/
docker-compose.dotnet.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
version: "2.4"
# noinspection ComposeUnknownKeys
x-common-env: &common-env
HONEYCOMB_API_KEY:
HONEYCOMB_DATASET:
HONEYCOMB_API:
OTEL_EXPORTER_OTLP_ENDPOINT:
OTEL_EXPORTER_OTLP_HEADERS:
OTEL_RESOURCE_ATTRIBUTES: app.running-in=docker
Honeycomb__ApiKey: ${HONEYCOMB_API_KEY}
Honeycomb__Dataset: ${HONEYCOMB_DATASET}
Honeycomb__Endpoint: ${HONEYCOMB_API}
Otlp__ApiKey: ${HONEYCOMB_API_KEY}
Otlp__Dataset: ${HONEYCOMB_DATASET}
Otlp__Endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT}
MESSAGE_ENDPOINT: message-service:9000
NAME_ENDPOINT: name-service:8000
YEAR_ENDPOINT: year-service:6001
REDIS_URL: redis
services:
frontend-dotnet:
container_name: frontend-service
build: ./dotnet/frontend
image: hnyexample/frontend-dotnet
environment:
<<: *common-env
ports:
- 7777:7777
message-dotnet:
container_name: message-service
build: ./dotnet/message-service
image: hnyexample/message-dotnet
environment:
<<: *common-env
ports:
- 9000:9000
name-dotnet:
container_name: name-service
build: ./dotnet/name-service
image: hnyexample/name-dotnet
environment:
<<: *common-env
ports:
- 8000:8000
year-dotnet:
container_name: year-service
build: ./dotnet/year-service
image: hnyexample/year-dotnet
environment:
<<: *common-env
ports:
- 6001:6001