forked from antonizdp/mall-2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
55 lines (49 loc) · 1.1 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
version: "3.9"
services:
# fastdfs 默认80 端口访问可下载 需要在linux搭建
fastdfs:
image: qbanxiaoli/fastdfs
restart: always
container_name: fastdfs
environment:
# 需要更换成自己的服务器IP
- IP=192.168.0.111
volumes:
- ./fastdfs:/var/local
network_mode: host
mysql:
image: "mysql:8.0.27"
restart: always
environment:
MYSQL_ROOT_PASSWORD: "123456"
TZ: Asia/Shanghai # 指定时区
ports:
- "3306:3306"
# volumes:
# - ./mysql8:/var/lib/mysql
redis:
image: "redis:6.2.6-alpine3.15"
restart: always
ports:
- "6379:6379"
rabbitmq:
image: "rabbitmq:3.9.11-management-alpine"
restart: always
ports:
- "15672:15672"
- "5672:5672"
# 单机部署
elasticsearch:
image: "elasticsearch:7.10.1"
restart: always
volumes:
- ./elasticsearch/config:/usr/share/elasticsearch/config
ports:
- "9200:9200"
environment:
- "discovery.type=single-node"
kinbana:
image: "kibana:7.10.1"
restart: always
ports:
- "5601:5601"