• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..30-Dec-2019-

conf/H30-Dec-2019-1,9881,242

source/H03-May-2022-

DockerfileH A D30-Dec-20191.1 KiB4336

README.mdH A D30-Dec-20192 KiB5035

fastdfs.shH A D30-Dec-2019679 2617

README.md

1# FastDFS Dockerfile local (本地版本)
2
3## 声明
4其实并没什么区别 教程是在上一位huayanYu(小锅盖)和 Wiki的作者 的基础上进行了一些修改,本质上还是huayanYu(小锅盖) 和 Wiki 上的作者写的教程
5
6
7## 目录介绍
8### conf
9Dockerfile 所需要的一些配置文件
10当然你也可以对这些文件进行一些修改  比如 storage.conf 里面的 bast_path 等相关
11
12### source
13FastDFS 所需要的一些需要从网上下载的包(包括 FastDFS 本身) ,因为天朝网络原因 导致 build 镜像的时候各种出错
14所以干脆提前下载下来了 .
15
16
17## 使用方法
18需要注意的是 你需要在运行容器的时候制定宿主机的ip 用参数 FASTDFS_IPADDR 来指定
19下面有一条docker run 的示例指令
20
21```
22docker run -d -e FASTDFS_IPADDR=192.168.1.234 -p 8888:8888 -p 22122:22122 -p 23000:23000 -p 8011:80 --name test-fast 镜像id/镜像名称
23```
24
25## 后记
26本质上 local 版本与  network 版本无区别
27
28
29## Statement
30In fact, there is no difference between the tutorials written by Huayan Yu and Wiki on the basis of their previous authors. In essence, they are also tutorials written by the authors of Huayan Yu and Wiki.
31
32## Catalogue introduction
33### conf
34Dockerfile Some configuration files needed
35Of course, you can also make some modifications to these files, such as bast_path in storage. conf, etc.
36
37### source
38FastDFS Some of the packages that need to be downloaded from the Internet (including FastDFS itself) are due to various errors in building mirrors due to the Tianchao network
39So I downloaded it in advance.
40
41## Usage method
42Note that you need to specify the host IP when running the container with the parameter FASTDFS_IPADDR
43Here's a sample docker run instruction
44```
45docker run -d -e FASTDFS_IPADDR=192.168.1.234 -p 8888:8888 -p 22122:22122 -p 23000:23000 -p 8011:80 --name test-fast 镜像id/镜像名称
46```
47
48## Epilogue
49Essentially, there is no difference between the local version and the network version.
50