-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose-base.yml
More file actions
executable file
·46 lines (43 loc) · 1.03 KB
/
docker-compose-base.yml
File metadata and controls
executable file
·46 lines (43 loc) · 1.03 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
version: '2'
services:
# ---------------------------
# 注册中心
# ---------------------------
eureka-service:
image: registry.cn-hangzhou.aliyuncs.com/hex-springcloud/eureka-service:0.0.1-SNAPSHOT
container_name: eureka-service
restart: always
ports:
- "8010:8010"
networks:
- net
# ---------------------------
# 配置中心
# ---------------------------
config-service:
image: registry.cn-hangzhou.aliyuncs.com/hex-springcloud/config-service:0.0.1-SNAPSHOT
container_name: config-service
restart: always
depends_on:
- eureka-service
ports:
- "8030:8030"
networks:
- net
# ---------------------------
# 事务服务
# ---------------------------
tx-manager:
image: registry.cn-hangzhou.aliyuncs.com/hex-springcloud/tx-manager:0.0.1-SNAPSHOT
container_name: tx-manager
restart: always
depends_on:
- eureka-service
ports:
- "8050:8050"
- "8150:8150"
networks:
- net
networks:
net:
driver: bridge