Chris Lu 81024761cd add local registry docker cluster 4 years ago
..
Dockerfile a6a46ae503 Use alpine base image instead of glib image. 4 years ago
Dockerfile.go_build b843358d65 adjust 4 years ago
Dockerfile.go_build_large da6b9e673b add build version 4 years ago
Dockerfile.local d4db0db220 some typos 4 years ago
Makefile 81024761cd add local registry docker cluster 4 years ago
README.md bad2771802 Update docker README with docker buildx instructions. 4 years ago
entrypoint.sh e932262b07 Allow custom command arguments to override default values in docker 4 years ago
filer.toml 15ecf4e3bf filer: default to leveldb2 5 years ago
local-cluster-compose.yml 12eafd634d add public url for volume server 4 years ago
local-dev-compose.yml 3775211962 optimize entrypoint for docker 4 years ago
local-registry-compose.yml 81024761cd add local registry docker cluster 4 years ago
seaweedfs-compose.yml 3775211962 optimize entrypoint for docker 4 years ago
seaweedfs-dev-compose.yml 3775211962 optimize entrypoint for docker 4 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