- Get the
tracker
image from here: fastdfs_tracker - Get the
storage
image from here: fastdfs_storage
Start the fastdfs stack using docker-compose:
$ docker-compose up
You can also choose to run it in background (detached mode):
$ docker-compose up -d
By default, the stack exposes the following ports:
- 22122: tracker server TCP transport
- 23000: storage server TCP transport
- 8899: nginx transport
- Manually create the directory
/data/fastdfs
. Also, you can specify your customized directory, such as:/home/fastdfs
. - Modify configuration files which under the
config
folder.