-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
87 lines (77 loc) · 2.07 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
version: '3'
x-minio-common: &minio-common
image: quay.io/minio/minio:v1.0.0
command: server --console-address ":9001" http://minio{1...4}/data{1...2}
expose:
- "9000"
environment:
MINIO_ROOT_USER: tiktokMinio
MINIO_ROOT_PASSWORD: tiktokMinio
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
services:
Etcd:
image: 'bitnami/etcd:v1.0.0'
environment:
- ALLOW_NONE_AUTHENTICATION=yes
ports:
- 2379:2380
dousheng-api:
image: '1.12.68.184:5000/dousheng-api-hertz:v1.0.0'
volumes:
- type: bind
source: ./config
target: /app/config
ports:
- 8089:8089
- 8081:8081
- 8082:8082
- 8083:8083
- 8084:8084
- 8085:8085
- 8086:8086
dousheng-rpc-commentsrv:
image: '1.12.68.184:5000/dousheng-rpc-commentsrv:v1.0.0'
network_mode: 'service:dousheng-api'
volumes:
- type: bind
source: ./config
target: /app/config
dousheng-rpc-messagesrv:
image: '1.12.68.184:5000/dousheng-rpc-messagesrv:v1.0.0'
network_mode: 'service:dousheng-api'
volumes:
- type: bind
source: ./config
target: /app/config
dousheng-rpc-relationsrv:
image: '1.12.68.184:5000/dousheng-rpc-relationsrv:v1.0.0'
network_mode: 'service:dousheng-api'
volumes:
- type: bind
source: ./config
target: /app/config
dousheng-rpc-videosrv:
image: '1.12.68.184:5000/dousheng-rpc-videosrv:v1.0.0'
network_mode: 'service:dousheng-api'
volumes:
- type: bind
source: ./config
target: /app/config
dousheng-rpc-usersrv:
image: '1.12.68.184:5000/dousheng-rpc-usersrv:v1.0.0'
network_mode: 'service:dousheng-api'
volumes:
- type: bind
source: ./config
target: /app/config
dousheng-rpc-favoritesrv:
image: '1.12.68.184:5000/dousheng-rpc-favoritesrv:v1.0.0'
network_mode: 'service:dousheng-api'
volumes:
- type: bind
source: ./config
target: /app/config