-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
74 lines (69 loc) · 1.8 KB
/
docker-compose.yml
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
74
version: '3'
services:
service-admin:
build: anair-service-admin
container_name: anair-service-admin
ports:
- 18080:18080
service-rest:
build: anair-service-rest
container_name: anair-service-rest
environment:
- SPRING_BOOT_ADMIN_CLIENT_URL=http://service-admin:18080/admin
- BASEURL_SERVICE_C=http://service-proto:8083/anair-service-proto
- OPENTRACING_JAEGER_UDP-SENDER_HOST=jaeger
- SPRING.KAFKA.BOOTSTRAPSERVERS=localhost:9092
- LOG_APPENDER=LOGSTASH_STDOUT
- LOG_LEVEL=INFO
depends_on:
- kafka
links:
- fluentd
ports:
- 8081:8081
logging:
driver: "fluentd"
options:
fluentd-address: localhost:24224
tag: service-rest
service-kafka:
build: anair-service-kafka
container_name: anair-service-kafka
environment:
- SPRING_BOOT_ADMIN_CLIENT_URL=http://service-admin:18080/admin
- OPENTRACING_JAEGER_UDP-SENDER_HOST=jaeger
- SPRING.KAFKA.BOOTSTRAPSERVERS=kafka:9092
- LOG_APPENDER=LOGSTASH_STDOUT
- LOG_LEVEL=INFO
depends_on:
- kafka
links:
- fluentd
ports:
- 8082:8082
logging:
driver: "fluentd"
options:
fluentd-address: localhost:24224
tag: service-kafka
service-proto:
build: anair-service-proto
container_name: anair-service-proto
environment:
- SPRING_BOOT_ADMIN_CLIENT_URL=http://service-admin:18080/admin
- OPENTRACING_JAEGER_UDP-SENDER_HOST=jaeger
- LOG_APPENDER=LOGSTASH_STDOUT
- LOG_LEVEL=INFO
ports:
- 8083:8083
links:
- fluentd
logging:
driver: "fluentd"
options:
fluentd-address: localhost:24224
tag: service-proto
networks:
default:
external:
name: spring-boot-microservices_default