This repository was archived by the owner on Dec 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Expand file tree Collapse file tree 3 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ version : ' 2'
2+
3+ services :
4+ orders :
5+ image : weaveworksdemos/orders
6+ hostname : orders
7+ restart : always
8+ cap_drop :
9+ - all
10+ cap_add :
11+ - NET_BIND_SERVICE
12+ read_only : true
13+ tmpfs :
14+ - /tmp:rw,noexec,nosuid
15+ environment :
16+ - reschedule=on-node-failure
17+ - ZIPKIN=zipkin
18+ ports :
19+ - " 8082:80"
20+ orders-db :
21+ image : mongo
22+ hostname : orders-db
23+ restart : always
24+ cap_drop :
25+ - all
26+ cap_add :
27+ - CHOWN
28+ - SETGID
29+ - SETUID
30+ read_only : true
31+ tmpfs :
32+ - /tmp:rw,noexec,nosuid
33+ environment :
34+ - reschedule=on-node-failure
35+ zipkin :
36+ image : openzipkin/zipkin
37+ hostname : zipkin
38+ restart : always
39+ cap_drop :
40+ - all
41+ cap_add :
42+ - CHOWN
43+ - SETGID
44+ - SETUID
45+ read_only : true
46+ tmpfs :
47+ - /tmp:rw,noexec,nosuid
48+ environment :
49+ - reschedule=on-node-failure
50+ ports :
51+ - " 9411:9411"
Original file line number Diff line number Diff line change 3535 <groupId >org.springframework.boot</groupId >
3636 <artifactId >spring-boot-starter-actuator</artifactId >
3737 </dependency >
38+ <dependency >
39+ <groupId >org.springframework.cloud</groupId >
40+ <artifactId >spring-cloud-starter-zipkin</artifactId >
41+ <version >1.1.0.RELEASE</version >
42+ </dependency >
3843 <dependency >
3944 <groupId >io.prometheus</groupId >
4045 <artifactId >simpleclient</artifactId >
6671 <version >0.8.4</version >
6772 <scope >test</scope >
6873 </dependency >
74+
75+
6976 </dependencies >
7077
7178 <build >
Original file line number Diff line number Diff line change 11server.port =${port:8082}
22spring.data.mongodb.uri =mongodb://${db:orders-db}:27017/data
33endpoints.health.enabled =false
4+ spring.zipkin.baseUrl =http://${zipkin:zipkin}:9411/
5+ spring.sleuth.sampler.percentage =1.0
6+ spring.application.name =orders
You can’t perform that action at this time.
0 commit comments