-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yml
47 lines (45 loc) · 944 Bytes
/
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
version: '3.1'
services:
# 注册中心
eureka-server:
image: qianlq/eureka-server
container_name: eureka-server
hostname: eureka-server
restart: always
ports:
- 8761:8761
# 服务网关
api-gateway:
image: qianlq/api-gateway
container_name: api-gateway
restart: always
ports:
- 9090:9090
links:
- eureka-server
# 配置中心
config-server:
image: qianlq/config-server
container_name: config-server
hostname: config-server
restart: always
ports:
- 8504:8504
links:
- eureka-server
service-producer:
image: qianlq/service-producer-core
container_name: service-producer
restart: always
ports:
- 8100:8100
links:
- eureka-server
service-customer:
image: qianlq/service-customer
container_name: service-customer
ports:
- 8200:8200
links:
- eureka-server
- config-server