-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
108 lines (91 loc) · 2.74 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: '2.1'
services:
l5d:
image: buoyantio/linkerd:1.6.2
volumes:
- "./linkerd/config.yaml:/io.buoyant/linkerd.yaml:ro"
- "./linkerd/disco:/io.buoyant/disco"
ports:
- "9990:9990"
- "4140:4140"
command: >
/io.buoyant/linkerd.yaml
# Audit events: App -> Flume -> Solr
solr:
image: solr:7
ports:
- "8983:8983"
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- gettingstarted
flume:
image: probablyfine/flume:latest
environment:
FLUME_AGENT_NAME: a1
volumes:
- ./flume.conf:/opt/flume-config/flume.conf:ro
- ./log4j.properties:/opt/flume-config/log4j.properties:ro
ports:
- "5555:5555"
# Distributed tracing
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "6831:6831/udp"
# Spring's support infrastructure
spring-config-server:
container_name: 'spring-config-server'
image: azul/zulu-openjdk:8
volumes:
- "./configuration-server/target/configuration-server-1.0.0.jar:/opt/app/configuration-server.jar:ro"
- "./configuration-server/config-repo:/tmp/configuration-server/config-repo:rw"
ports:
- "8888:8888"
command: ["java", "-jar", "/opt/app/configuration-server.jar"]
spring-admin-server:
container_name: 'spring-admin-server'
image: azul/zulu-openjdk:8
volumes:
- "./admin-server/target/admin-server-1.0.0.jar:/opt/app/admin-server.jar:ro"
ports:
- "8099:8099"
command: ["java", "-jar", "/opt/app/admin-server.jar"]
graphit:
container_name: "graphit"
image: graphiteapp/graphite-statsd
ports:
- "8032:80"
- "2003-2004:2003-2004"
# - "2023-2024:2023-2024"
# - "8125:8125/udp"
# - "8126:8126"
# Spring's applications
service-time:
container_name: 'service-time'
image: azul/zulu-openjdk:8
volumes:
- "./service-time/target/service-time-1.0.0.jar:/opt/app/service-time.jar:ro"
depends_on:
- spring-config-server
command: ["java", "-jar", "/opt/app/service-time.jar"]
service-order:
container_name: 'service-order'
image: azul/zulu-openjdk:8
volumes:
- "./service-order/target/service-order-1.0.0.jar:/opt/app/service-order.jar:ro"
environment:
HTTP_PROXYHOST: l5d
HTTP_PROXYPORT: 4140
depends_on:
- spring-config-server
command: ["java", "-jar", "/opt/app/service-order.jar"]
service-reservation:
container_name: 'service-reservation'
image: azul/zulu-openjdk:8
volumes:
- "./service-reservation/target/service-reservation-1.0.0.jar:/opt/app/service-reservation.jar:ro"
depends_on:
- spring-config-server
command: ["java", "-jar", "/opt/app/service-reservation.jar"]