-
Notifications
You must be signed in to change notification settings - Fork 336
/
docker-compose.yaml
73 lines (67 loc) · 1.54 KB
/
docker-compose.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: "3"
services:
frontend:
build: ./frontend
image: frontend
environment:
PORT: 8080
AUTH_API_ADDRESS: http://auth-api:8081
TODOS_API_ADDRESS: http://todos-api:8082
ZIPKIN_URL: http://zipkin:9411/api/v2/spans
ports:
- 8080:8080
depends_on:
- zipkin
- auth-api
- todos-api
- users-api
auth-api:
build: ./auth-api
image: auth-api
environment:
AUTH_API_PORT: 8081
JWT_SECRET: myfancysecret
USERS_API_ADDRESS: http://users-api:8083
ZIPKIN_URL: http://zipkin:9411/api/v2/spans
depends_on:
- zipkin
- users-api
todos-api:
build: ./todos-api
image: todos-api
environment:
TODO_API_PORT: 8082
JWT_SECRET: myfancysecret
REDIS_HOST: redis-queue
REDIS_PORT: 6379
REDIS_CHANNEL: log_channel
ZIPKIN_URL: http://zipkin:9411/api/v2/spans
depends_on:
- zipkin
- redis-queue
users-api:
build: ./users-api
image: users-api
environment:
SERVER_PORT: 8083
JWT_SECRET: myfancysecret
SPRING_ZIPKIN_BASE_URL: http://zipkin:9411
depends_on:
- zipkin
log-message-processor:
build: ./log-message-processor
image: log-message-processor
environment:
REDIS_HOST: redis-queue
REDIS_PORT: 6379
REDIS_CHANNEL: log_channel
ZIPKIN_URL: http://zipkin:9411/api/v1/spans
depends_on:
- zipkin
- redis-queue
zipkin:
image: openzipkin/zipkin
ports:
- 9411:9411
redis-queue:
image: redis