September 2019
Intermediate to advanced
668 pages
15h 59m
English
As we mentioned previously, the Zipkin server is added to the Docker Compose files using an already existing Docker image, openzipkin/zipkin, published by the Zipkin project. In docker-compose.yml and docker-compose-partitions.yml, where RabbitMQ is used, the definition of the Zipkin server appears as follows:
zipkin: image: openzipkin/zipkin:2.12.9 networks: - my-network environment: - RABBIT_ADDRESSES=rabbitmq - STORAGE_TYPE=mem mem_limit: 512m ports: - 9411:9411 depends_on: rabbitmq: condition: service_healthy
Let's explain the preceding source code: