You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Chris Lu 6c9156b25f switch to logrus 4 years ago
..
Dockerfile Use alpine base image instead of glib image. 5 years ago
Dockerfile.go_build adjust 4 years ago
Dockerfile.go_build_large add build version 4 years ago
Dockerfile.local some typos 5 years ago
Makefile add local registry docker cluster 4 years ago
README.md Update docker README with docker buildx instructions. 5 years ago
entrypoint.sh Allow custom command arguments to override default values in docker 4 years ago
filer.toml filer: default to leveldb2 6 years ago
local-cluster-compose.yml add public url for volume server 4 years ago
local-dev-compose.yml optimize entrypoint for docker 5 years ago
local-registry-compose.yml add local registry docker cluster 4 years ago
seaweedfs-compose.yml optimize entrypoint for docker 5 years ago
seaweedfs-dev-compose.yml optimize entrypoint for docker 5 years ago

README.md

Docker

Try it out


wget https://raw.githubusercontent.com/chrislusf/seaweedfs/master/docker/seaweedfs-compose.yml

docker-compose -f seaweedfs-compose.yml -p seaweedfs up

Try latest tip


wget https://raw.githubusercontent.com/chrislusf/seaweedfs/master/docker/seaweedfs-dev-compose.yml

docker-compose -f seaweedfs-dev-compose.yml -p seaweedfs up

Local Development

cd $GOPATH/src/github.com/chrislusf/seaweedfs/docker
make

Build and push a multiarch build

Make sure that docker buildx is supported (might be an experimental docker feature)

BUILDER=$(docker buildx create --driver docker-container --use)
docker buildx build --pull --push --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . -t chrislusf/seaweedfs
docker buildx stop $BUILDER