This repository was archived by the owner on Oct 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
63 lines (63 loc) · 1.42 KB
/
docker-compose.yaml
File metadata and controls
63 lines (63 loc) · 1.42 KB
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
version: '3'
services:
fdfs-trackerd:
image: fdfs/tracker:0.44
container_name: fdfs-trackerd
ports:
- 22122:22122
- 23000:23000
environment:
- IP=fdfs-trackerd
- WEB_PORT=8088
- TZ=Asia/Shanghai
- FDFS_PORT=22122
volumes:
- ./data/tracker:/var/local/fdfs/tracker
privileged: true
networks:
- app
fdfs-storage:
image: fdfs/storage:0.44
ports:
- 8089:8088
environment:
- TZ=Asia/Shanghai
- NGINX_CONF_FILE=/usr/local/nginx/conf/nginx.conf
- TRACKERD_IP=fdfs-trackerd
- WEB_PORT=8088
- TRACKERD_PORT=22122
volumes:
- /home/docker/fdfs/data/storage:/home/yuqing/fastdfs
#- /home/docker/fdfs/data/nginx/conf:/usr/local/nginx/conf/
privileged: true
networks:
- app
proxy:
image: fdfs/nginx:0.44
container_name: storage-proxy
ports:
- 9081:80
environment:
- TZ=Asia/Shanghai
- GET_TRACKER_SERVER=fdfs-trackerd:22122
- TRACKER_SERVER=fdfs-trackerd:22122
privileged: true
networks:
- app
video:
image: fdfs/video:0.44
container_name: video
ports:
- 9089:80
environment:
- TZ=Asia/Shanghai
- FASTDFS_TRACKER_PORT=22122
- STORAGE_PROXY=storage-proxy
- LUA_RESOLVER=127.0.0.11
- FASTDFS_TRACKER_IP=fdfs-trackerd
privileged: true
networks:
- app
networks:
app:
external: true