forked from apollographql/supergraph-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.otel-zipkin.yml
41 lines (41 loc) · 1.03 KB
/
docker-compose.otel-zipkin.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
version: '3'
services:
apollo-gateway:
container_name: apollo-gateway
build: ./gateway
environment:
- APOLLO_SCHEMA_CONFIG_EMBEDDED=true
- APOLLO_OTEL_EXPORTER_TYPE=zipkin
- APOLLO_OTEL_EXPORTER_HOST=zipkin
volumes:
- ./supergraph.graphql:/etc/config/supergraph.graphql
ports:
- "4000:4000"
depends_on:
- zipkin
products:
container_name: products
build: ./subgraphs/products
environment:
- APOLLO_OTEL_EXPORTER_TYPE=zipkin
- APOLLO_OTEL_EXPORTER_HOST=zipkin
inventory:
container_name: inventory
build: ./subgraphs/inventory
environment:
- APOLLO_OTEL_EXPORTER_TYPE=zipkin
- APOLLO_OTEL_EXPORTER_HOST=zipkin
users:
container_name: users
build: ./subgraphs/users
environment:
- APOLLO_OTEL_EXPORTER_TYPE=zipkin
- APOLLO_OTEL_EXPORTER_HOST=zipkin
pandas:
container_name: pandas
build: ./subgraphs/pandas
zipkin:
container_name: zipkin
image: openzipkin/zipkin:2.23.19
ports:
- "9411:9411"