-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
executable file
·113 lines (107 loc) · 2.68 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
109
110
111
112
113
version: '2'
services:
zipkin:
image: toquery/zipkin
container_name: zipkin
hostname: zipkin
ports:
- "9411:9411"
config-server:
image: toquery/config-server
container_name: config-server
hostname: config-server
restart: always
depends_on:
- rabbitmq
ports:
- "8888:8888"
volumes:
- $APP_CONFIG_DIR:/etc/msdemo
- $APP_LOGGING_DIR:/var/log/msdemo
environment:
APP_CONFIG_DIR: /etc/msdemo
APP_LOGGING_DIR: /var/log/msdemo
SERVICE_REGISTRY_URL: http://service-registry:8761/eureka/
RABBITMQ_SERVICE_HOST: rabbitmq
RABBITMQ_SERVICE_PORT: 5672
RABBITMQ_SERVICE_USERNAME: admin
RABBITMQ_SERVICE_PASSWORD: amqp
service-registry:
image: toquery/service-registry
container_name: service-registry
hostname: service-registry
restart: always
depends_on:
- config-server
ports:
- "8761:8761"
volumes:
- $APP_LOGGING_DIR:/var/log/msdemo
environment:
CONFIG_SERVER_URL: http://config-server:8888
turbine-server:
image: toquery/turbine-server
container_name: turbine-server
hostname: turbine-server
restart: always
depends_on:
- service-registry
ports:
- "8989:8989"
volumes:
- $APP_LOGGING_DIR:/var/log/msdemo
environment:
CONFIG_SERVER_URL: http://config-server:8888
monitor-dashboard:
image: toquery/monitor-dashboard
container_name: monitor-dashboard
hostname: monitor-dashboard
restart: always
depends_on:
- service-registry
- turbine-server
ports:
- "7979:7979"
volumes:
- $APP_LOGGING_DIR:/var/log/msdemo
environment:
CONFIG_SERVER_URL: http://config-server:8888
auth-service:
image: toquery/auth-service
container_name: auth-service
hostname: auth-service
restart: always
depends_on:
- service-registry
ports:
- "9000:9000"
volumes:
- $APP_LOGGING_DIR:/var/log/msdemo
environment:
CONFIG_SERVER_URL: http://config-server:8888
account-service:
image: toquery/account-service
container_name: account-service
hostname: account-service
restart: always
depends_on:
- service-registry
ports:
- "9010:9010"
volumes:
- $APP_LOGGING_DIR:/var/log/msdemo
environment:
CONFIG_SERVER_URL: http://config-server:8888
api-gateway:
image: toquery/cloud-gateway
container_name: cloud-gateway
hostname: cloud-gateway
restart: always
depends_on:
- service-registry
ports:
- "8080:8080"
volumes:
- $APP_LOGGING_DIR:/var/log/msdemo
environment:
CONFIG_SERVER_URL: http://config-server:8888