Sign inSign up

dodotry/fastdfs

By dodotry

Updated almost 5 years ago

更新到最新版本,基于Centos8/nginx1.19.8/FastDFS v6.07镜像,在delron/fastdfs基础上修正TRACKER_SERVER环境变量只带IP。

Image
6

2.3K

dodotry/fastdfs repository overview

  • 优化记录

基于Centos8镜像,nginx更新到最新版本nginx1.19.8;FastDFS更新到FastDFS v6.07版本,在delron/fastdfs基础上修正TRACKER_SERVER环境变量为IP地址,不带端口。

  • 挂载目录

数据目录:/home/fdfs

docker-compose创建如下:

version: "3.7"
services:
    tracker:
        image: 'dodotry/fastdfs:latest'
        restart: always
        container_name: 'tracker'
        hostname: 'tracker'
        privileged: true
        network_mode: "host"
        environment:
            TZ: 'Asia/Shanghai'
        volumes:
            - ./tracker/data:/home/fdfs
            - /etc/localtime:/etc/localtime:ro
        command: tracker
    storage:
        image: 'dodotry/fastdfs:latest'
        restart: always
        container_name: 'storage'
        hostname: 'storage'
        privileged: true
        network_mode: "host"
        environment:
            TZ: 'Asia/Shanghai'
            TRACKER_SERVER: '192.168.0.45'
        volumes:
            - ./storage/data:/home/fdfs
            - /etc/localtime:/etc/localtime:ro
        command: storage

Tag summary

Content type

Image

Digest

Size

227.4 MB

Last updated

almost 5 years ago

docker pull dodotry/fastdfs