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 53b300edd8 add git version for local builds 4 years ago
..
compose remove wrong parameter 4 years ago
nginx docker-compose 4 years ago
prometheus docker-compose 4 years ago
Dockerfile fix docker image release 4 years ago
Dockerfile.go_build build static binary in docker images 4 years ago
Dockerfile.go_build_large build static binary in docker images 4 years ago
Dockerfile.local webdav: adds to docker file 4 years ago
Dockerfile.s3tests add 12 tests 4 years ago
Makefile add git version for local builds 4 years ago
README.md Update docker README with docker buildx instructions. 5 years ago
entrypoint.sh fix outdated cron job scripts 4 years ago
filer.toml filer: default to leveldb2 6 years ago
seaweedfs-compose.yml webdav: adds to docker file 4 years ago
seaweedfs-dev-compose.yml webdav: adds to docker file 4 years ago
seaweedfs.sql k8s build 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