-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
42 lines (40 loc) · 956 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
40
41
42
version: '2'
services:
tracker:
image: season/fastdfs:1.2
container_name: tracker
restart: always
volumes:
- "./tracker_data:/fastdfs/tracker/data"
ports:
- "22122:22122"
command: "tracker"
storage:
image: season/fastdfs:1.2
container_name: storage
links:
- tracker
restart: always
volumes:
- "./storage.conf:/fdfs_conf/storage.conf"
- "./storage_base_path:/fastdfs/storage/data"
- "./store_path0:/fastdfs/store_path"
ports:
- "23000:23000"
environment:
TRACKER_SERVER: "tracker:22122"
command: "storage"
nginx:
image: season/fastdfs:1.2
container_name: fdfs-nginx
restart: always
volumes:
- "./nginx.conf:/etc/nginx/conf/nginx.conf"
- "./store_path0:/fastdfs/store_path"
links:
- tracker
ports:
- "8088:8088"
environment:
TRACKER_SERVER: "tracker:22122"
command: "nginx"