-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.python.yml
55 lines (49 loc) · 1.29 KB
/
docker-compose.python.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
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
MESSAGE_ENDPOINT: http://message-service:9000
NAME_ENDPOINT: http://name-service:8000
YEAR_ENDPOINT: http://year-service:6001
services:
frontend-python:
container_name: frontend-service
build: ./python/frontend
image: hnyexample/frontend-python
environment:
<<: *common-env
OTEL_SERVICE_NAME: frontend-python
ports:
- 7777:7777
message-python:
container_name: message-service
build: ./python/message-service
image: hnyexample/message-python
environment:
<<: *common-env
OTEL_SERVICE_NAME: message-python
ports:
- 9000:9000
name-python:
container_name: name-service
build: ./python/name-service
image: hnyexample/name-python
environment:
<<: *common-env
OTEL_SERVICE_NAME: name-python
ports:
- 8000:8000
year-python:
container_name: year-service
build: ./python/year-service
image: hnyexample/year-python
environment:
<<: *common-env
OTEL_SERVICE_NAME: year-python
ports:
- 6001:6001