-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
131 lines (119 loc) · 2.51 KB
/
docker-compose.yml
File metadata and controls
131 lines (119 loc) · 2.51 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
version: '3'
services:
consumer-service:
image: easy-cloud/ec-consumer:1.0-SNAPSHOT
expose:
- "8001"
# links:
# - discovery
edge-service:
image: easy-cloud/ec-edge-service:1.0-SNAPSHOT
volumes:
- "/tmp/logs:/app/logs"
expose:
- "8070"
# links:
# - discovery
# - admin-server
product-service:
image: easy-cloud/ec-product-service:1.0-SNAPSHOT
# ports:
# - "8090:8090"
volumes:
- "/tmp/logs:/app/logs"
expose:
- "8090"
# links:
# - discovery
# - zipkin
user-service:
image: easy-cloud/ec-user-service:1.0-SNAPSHOT
volumes:
- "/tmp/logs:/app/logs"
# ports:
# - "8081:8081"
# links:
# - discovery
# - zipkin
# - mongodb
# - admin-server
config-server:
image: easy-cloud/ec-config:1.0-SNAPSHOT
# ports:
# - "8888:8888"
volumes:
- "/tmp/logs:/app/logs"
# links:
# - discovery
# - mongodb
# - admin-server
# - rabbitmq
api-gateway:
image: easy-cloud/ec-zuul:1.0-SNAPSHOT
ports:
- "8080:8080"
volumes:
- "/tmp/logs:/app/logs"
# links:
# - discovery
# - zipkin
dashboard:
image: easy-cloud/ec-dashboard:1.0-SNAPSHOT
ports:
- "9001:9001"
# links:
# - discovery
# - admin-server
turbine-stream:
image: easy-cloud/ec-turbine-stream:1.0-SNAPSHOT
ports:
- "8099:8099"
# links:
# - discovery
# - rabbitmq
admin-server:
image: easy-cloud/ec-admin:1.0-SNAPSHOT
ports:
- "9000:9000"
environment:
- "spring.profiles.active=security"
- "EUREKA_SERVER_URL=http://eureka:123456@discovery:8761/eureka"
volumes:
- "/tmp/logs:/app/logs"
# links:
# - discovery
discovery:
image: easy-cloud/ec-eureka-server:1.0-SNAPSHOT
ports:
- "8761:8761"
volumes:
- "/tmp/logs:/app/logs"
# mysql:
# image: msyql:5.7
# volumes:
# - ~/data/mysql/data:/var/lib/mysql
# ports:
# - "3306:3306"
# environment:
# MYSQL_ROOT_PASSWORD: 123456
# TZ: Asia/Shanghai
mongodb:
image: mongo:3.6.4
ports:
- "27017:27017"
volumes:
- ~/data/mongo/data:/data/db
rabbitmq:
image: rabbitmq:3.7-management
hostname: rabbit
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=123456
zipkin:
image: openzipkin/zipkin
container_name: zipkin
ports:
- 9411:9411