forked from SonicCloudOrg/sonic-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
98 lines (97 loc) · 2.57 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
version: '3'
services:
sonic-server-eureka:
image: "zhouyixun/sonic-server-eureka:v1.0.0"
hostname: sonic-server-eureka
environment:
- EUREKA_HOST=sonic-server-eureka
volumes:
- ./logs/:/logs/
networks:
- sonic-network
ports:
- "9090:9090"
sonic-server-bus:
image: "zhouyixun/sonic-server-bus:v1.0.1"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
networks:
- sonic-network
volumes:
- ./config:/config
- ./logs/:/logs/
depends_on:
- sonic-server-eureka
sonic-server-gateway:
image: "zhouyixun/sonic-server-gateway:v1.0.0"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
networks:
- sonic-network
volumes:
- ./logs/:/logs/
depends_on:
- sonic-server-bus
- sonic-server-eureka
ports:
- "8094:8094"
sonic-server-controller:
image: "zhouyixun/sonic-server-controller:v1.0.0"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
networks:
- sonic-network
volumes:
- ./logs/:/logs/
depends_on:
- sonic-server-bus
- sonic-server-eureka
- sonic-server-gateway
sonic-server-folder:
image: "zhouyixun/sonic-server-folder:v1.0.0"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
networks:
- sonic-network
volumes:
- ./keepFiles/:/keepFiles/
- ./imageFiles/:/imageFiles/
- ./recordFiles/:/recordFiles/
- ./logs/:/logs/
depends_on:
- sonic-server-bus
- sonic-server-eureka
- sonic-server-gateway
sonic-server-task:
image: "zhouyixun/sonic-server-task:v1.0.0"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
networks:
- sonic-network
volumes:
- ./logs/:/logs/
depends_on:
- sonic-server-bus
- sonic-server-eureka
- sonic-server-gateway
sonic-server-transport:
image: "zhouyixun/sonic-server-transport:v1.0.0"
environment:
- PROFILE=prod
- EUREKA_URL=http://sonic:sonic@sonic-server-eureka:9090/eureka/
networks:
- sonic-network
volumes:
- ./logs/:/logs/
depends_on:
- sonic-server-bus
- sonic-server-eureka
- sonic-server-gateway
networks:
sonic-network:
driver: bridge