-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.node.yml
48 lines (43 loc) · 1.15 KB
/
docker-compose.node.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
version: "2.4"
x-common-env: &common-env
HONEYCOMB_API_KEY: ${HONEYCOMB_API_KEY}
OTEL_EXPORTER_OTLP_ENDPOINT: api.honeycomb.io
OTEL_EXPORTER_OTLP_HEADERS: "x-honeycomb-team=${HONEYCOMB_API_KEY}"
OTEL_RESOURCE_ATTRIBUTES: app.running-in=docker
MESSAGE_ENDPOINT: http://message-service:9000
NAME_ENDPOINT: http://name-service:8000
YEAR_ENDPOINT: http://year-service:6001
REDIS_URL: redis
services:
frontend-node:
container_name: frontend-service
build: ./node/frontend-service
environment:
<<: *common-env
SERVICE_NAME: node-frontend-service
ports:
- 7777:7777
message-node:
container_name: message-service
build: ./node/message-service
environment:
<<: *common-env
SERVICE_NAME: node-message-service
ports:
- 9000:9000
name-node:
container_name: name-service
build: ./node/name-service
environment:
<<: *common-env
SERVICE_NAME: node-name-service
ports:
- 8000:8000
year-node:
container_name: year-service
build: ./node/year-service
environment:
<<: *common-env
OTEL_SERVICE_NAME: node-year-service
ports:
- 6001:6001