-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
98 lines (83 loc) · 1.74 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
version: "3.3"
services:
mysql:
image: 'mysql:latest'
# ports:
# - "3306:3306"
network_mode: "host"
environment:
- MYSQL_DATABASE=simpletk
- MYSQL_ROOT_PASSWORD=yutian
volumes:
- ~/mysql/data:/var/lib/mysql
redis:
image: 'redis:latest'
# ports:
# - "6379:6379"
network_mode: "host"
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- ~/redis/data:/data
Etcd:
image: 'bitnami/etcd:latest'
environment:
- ALLOW_NONE_AUTHENTICATION=yes
# ports:
# - "2379:2379"
network_mode: "host"
Minio:
image: 'quay.io/minio/minio:latest'
# ports:
# - "9000:9000"
# - "9090:9090"
network_mode: "host"
volumes:
- ~/minio/data:/data
environment:
MINIO_ROOT_USER: clubwego
MINIO_ROOT_PASSWORD: simpletiktok
command: server /data --console-address ":9090"
usermicro:
image: 'usermicro:latest'
network_mode: "host"
depends_on:
- mysql
- redis
- Etcd
- Minio
# ports:
# - "10000:10000"
videomicro:
image: "videomicro:latest"
depends_on:
- usermicro
network_mode: "host"
# ports:
# - "10001:10001"
relation-micro:
image: 'relationmicro:latest'
network_mode: "host"
depends_on:
- videomicro
# ports:
# - "10002:10002"
favoritemicro:
image: "favoritemicro:latest"
network_mode: "host"
depends_on:
- relation-micro
# ports:
# - "10003:10003"
comment-micro:
image: 'commentmicro:latest'
depends_on:
- favoritemicro
network_mode: "host"
# ports:
# - "10004:10004"
simple-tiktok:
image: simple-tiktok:latest
network_mode: "host"
depends_on:
- comment-micro