Zipkin 0.4.1 obviates some duplication of configuration. It is also the first version that's published as a docker image. By switching to the published image of zipkin-java, we can be more consistent, as `spring-cloud-sleuth-zipkin-stream` is derived from that, not the scala query service.
28 lines
537 B
YAML
28 lines
537 B
YAML
mysql:
|
|
image: openzipkin/zipkin-mysql:1.30.0
|
|
ports:
|
|
- 3306:3306
|
|
query:
|
|
image: openzipkin/zipkin-java:0.4.1
|
|
environment:
|
|
# Remove TRANSPORT_TYPE to disable tracing
|
|
- TRANSPORT_TYPE=http
|
|
- STORAGE_TYPE=mysql
|
|
# - JAVA_OPTS=your jvm params here
|
|
expose:
|
|
- 9411
|
|
ports:
|
|
- 9411:9411
|
|
links:
|
|
- mysql:storage
|
|
web:
|
|
image: openzipkin/zipkin-web:1.30.0
|
|
environment:
|
|
# Remove TRANSPORT_TYPE to disable tracing
|
|
- TRANSPORT_TYPE=http
|
|
ports:
|
|
- 8080:8080
|
|
- 9990:9990
|
|
links:
|
|
- query
|