-
Notifications
You must be signed in to change notification settings - Fork 75
/
docker-compose.yml
39 lines (38 loc) · 973 Bytes
/
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
version: '3'
services:
tracker:
container_name: tracker
image: luhuiguo/fastdfs
command: tracker
network_mode: host
volumes:
- /var/fdfs/tracker:/var/fdfs
storage0:
container_name: storage0
image: luhuiguo/fastdfs
command: storage
network_mode: host
environment:
- TRACKER_SERVER=10.1.5.85:22122
volumes:
- /var/fdfs/storage0:/var/fdfs
# storage1:
# container_name: storage1
# image: luhuiguo/fastdfs
# command: storage
# network_mode: host
# environment:
# - TRACKER_SERVER=10.1.5.85:22122
# volumes:
# - /var/fdfs/storage1:/var/fdfs
# storage2:
# container_name: storage2
# image: luhuiguo/fastdfs
# command: storage
# network_mode: host
# environment:
# - TRACKER_SERVER=10.1.5.85:22122
# - GROUP_NAME=group2
# - PORT=24000
# volumes:
# - /var/fdfs/storage2:/var/fdfs