mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
version: "3.4"
|
|
services:
|
|
videos-web:
|
|
container_name: videos-web
|
|
image: aimvector/jaeger-tracing:videos-web-1.0.0
|
|
build:
|
|
context: ./applications-go/videos-web
|
|
ports:
|
|
- 80:80
|
|
networks:
|
|
- tracing
|
|
playlists-api:
|
|
container_name: playlists-api
|
|
image: aimvector/jaeger-tracing:playlists-api-1.0.0
|
|
build:
|
|
context: ./applications-go/playlists-api
|
|
environment:
|
|
- "ENVIRONMENT=DEBUG"
|
|
- "REDIS_HOST=playlists-db"
|
|
- "REDIS_PORT=6379"
|
|
ports:
|
|
- 81:10010
|
|
networks:
|
|
- tracing
|
|
playlists-db:
|
|
container_name: playlists-db
|
|
image: redis:6.0-alpine
|
|
command: [ "redis-server" , "--dir", "/tmp", "--appendonly", "yes"]
|
|
volumes:
|
|
- ./applications-go/playlists-db/appendonly.aof:/tmp/appendonly.aof
|
|
networks:
|
|
- tracing
|
|
videos-api:
|
|
container_name: videos-api
|
|
image: aimvector/jaeger-tracing:videos-api-1.0.0
|
|
build:
|
|
context: ./applications-go/videos-api
|
|
environment:
|
|
- "ENVIRONMENT=DEBUG"
|
|
- "REDIS_HOST=videos-db"
|
|
- "REDIS_PORT=6379"
|
|
#- "DELAY=true"
|
|
#- "FLAKY=true"
|
|
ports:
|
|
- 82:10010
|
|
networks:
|
|
- tracing
|
|
videos-db:
|
|
container_name: videos-db
|
|
image: redis:6.0-alpine
|
|
command: [ "redis-server" , "--dir", "/tmp", "--appendonly", "yes"]
|
|
volumes:
|
|
- ./applications-go/videos-db/appendonly.aof:/tmp/appendonly.aof
|
|
networks:
|
|
- tracing
|
|
jaeger:
|
|
container_name: jaeger
|
|
image: jaegertracing/all-in-one:latest
|
|
networks:
|
|
- tracing
|
|
ports:
|
|
- 16686:16686
|
|
- 14269:14269
|
|
networks:
|
|
tracing:
|
|
name: tracing |