Coder Social home page Coder Social logo

seaweedfs-docker's Introduction

seaweedfs-docker

鉴于seaweedfs官方给出的docker示例无法满足实际需求,特修改后保存使用。

使用

1.编译docker镜像

docker build -t shiguanghuxian/seaweedfs .

2.使用docker-compose 执行新建容器组

docker-compose up

3.启动容器组

docker-compose start

4.停止容器组

docker-compose stop

5.查询容器组所有容器状态

docker-compose ps

6.删除容器组

docker-compose down

备注

docker-compose.yml 文件中的xxx.xxx.xxx.x要替换为宿主主机的ip,这样可以保证公网访问。

另外volume节点不可以被负载均衡,不然会出现上传错误。

seaweedfs-docker's People

Contributors

shiguanghuxian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

seaweedfs-docker's Issues

文件配置理解

请问docker-compose.yml文件中的master1,master2,master3怎么理解?
1.是否需要多master配置?
2.master1,2,3是不太主机的主机名还是特定表达?(因为发现volume需要制定ip,而master直接使用域名)
如上,不太理解,期待回复,谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.