-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (46 loc) · 1.01 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
version: '3.8'
services:
mysql:
image: mysql:latest
environment:
MYSQL_ROOT_PASSWORD: tiktok1234
MYSQL_DATABASE: tiktok
MYSQL_USER: tiktokAdmin
MYSQL_PASSWORD: tiktok1234
ports:
- "3306:3306"
volumes:
- db_data:/var/lib/mysql
etcd:
image: bitnami/etcd:latest
environment:
ALLOW_NONE_AUTHENTICATION: 'yes'
ports:
- "2379:2379"
redis:
image: redis:latest
ports:
- "6379:6379"
rabbitmq:
image: rabbitmq:latest
ports:
- "5672:5672"
minio:
image: minio/minio:latest
environment:
MINIO_ACCESS_KEY: tiktok
MINIO_SECRET_KEY: tiktokadmin
ports:
- "9000:9000"
- "9001:9001"
volumes:
- /Users/slone/Desktop/simpleTikTok/data:/data # 挂载本地文件夹映射
command: server /data --console-address ":9001"
dtm:
image: yedf/dtm:latest
ports:
- "36789:36789"
environment:
DTM_SERVER_ADDR: http://localhost:36789/api/dtmsvr
volumes:
db_data: {}