-
-
Save robertoporfiro/c49e45105a296adce6e8246e78774a2a to your computer and use it in GitHub Desktop.
SpringBoot + Jaeger docker-compose file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
observability: | |
image: jaegertracing/all-in-one:1.38 | |
ports: | |
- "6831:6831/udp" | |
- "6832:6832/udp" | |
- "5778:5778" | |
- "16686:16686" | |
- "4317:4317" | |
- "4318:4318" | |
- "14250:14250" | |
- "14268:14268" | |
- "14269:14269" | |
- "9411:9411" | |
networks: | |
- back-tier | |
meme-service: | |
image: hasankhatib/random-meme | |
build: . | |
environment: | |
- JAEGER_URI=http://observability:14268/api/traces | |
- RAPIDAPI_KEY=${RAPIDAPI_KEY} | |
- PORT=8080 | |
ports: | |
- "8080:8080" | |
networks: | |
- back-tier | |
depends_on: | |
- observability | |
api-gateway: | |
image: hasankhatib/api-gateway | |
build: . | |
environment: | |
- API_USER=user | |
- API_PASS=pass | |
- BE_SERVICE_URL=http://meme-service:8080/ | |
- JAEGER_URI=http://observability:14268/api/traces | |
networks: | |
- back-tier | |
ports: | |
- "8081:8081" | |
depends_on: | |
- meme-service | |
networks: | |
back-tier: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment