-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
105 lines (101 loc) · 2.32 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
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
services:
screening-portal:
image: screening-portal
build:
context: ./src
dockerfile: screening-portal.dockerfile
env_file:
- .env
environment:
OTEL_SERVICE_NAME: "Spd.Presentation.Screening"
SECRETS_FILE: /config/secrets.json
BASE_PATH: /screening
volumes:
- ${SECRETS_BASE_PATH}/5050035b-d63a-4c6e-a973-fe8e5d35829b/secrets.json:/config/secrets.json
- ./tmp:/dp:rw
expose:
- 8080
ports:
- "4200:8080"
deploy:
resources:
limits:
cpus: "0.25"
memory: 256M
reservations:
cpus: "0.05"
memory: 128M
depends_on:
- redis
- otel-collector
licensing-portal:
image: licensing-portal
build:
context: ./src
dockerfile: licensing-portal.dockerfile
env_file:
- .env
environment:
OTEL_SERVICE_NAME: "Spd.Presentation.Licensing"
SECRETS_FILE: /config/secrets.json
BASE_PATH: /licensing
volumes:
- ${SECRETS_BASE_PATH}/168d0646-71ea-405b-8f2f-d47cdf5a0759/secrets.json:/config/secrets.json
- ./tmp:/dp:rw
expose:
- 8080
ports:
- "4300:8080"
deploy:
resources:
limits:
cpus: "0.25"
memory: 256M
reservations:
cpus: "0.05"
memory: 128M
depends_on:
- redis
- otel-collector
dynamics-api:
image: dynammics-api
build:
context: ./src
dockerfile: dynamics.dockerfile
env_file:
- .env
environment:
OTEL_SERVICE_NAME: "Spd.Presentation.Dynamics"
SECRETS_FILE: /config/secrets.json
volumes:
- ${SECRETS_BASE_PATH}/c03da675-16e3-44d2-b265-90779c030de7/secrets.json:/config/secrets.json
- ./tmp:/dp:rw
expose:
- 8080
ports:
- "4100:8080"
deploy:
resources:
limits:
cpus: "0.25"
memory: 256M
reservations:
cpus: "0.05"
memory: 128M
depends_on:
- redis
- otel-collector
# Redis
redis:
image: redis:7
ports:
- "6379:6379"
# OpenTelemetry Collector
otel-collector:
image: otel/opentelemetry-collector-contrib
volumes:
- ./tools/compose/otel-config.yaml:/etc/otelcol-contrib/config.yaml
environment: []
ports:
- "4317:4317"
- "4318:4318"