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.
 
 
 
 
 
Alexander ee52f29c33 feature(ci): recognise more arches and add build tests 3 years ago
..
compose s3 test get w/ If-Match: bogus ETag 4 years ago
nginx docker-compose 4 years ago
prometheus docker-compose 4 years ago
Dockerfile feature(ci): recognise more arches and add build tests 3 years ago
Dockerfile.gccgo_build gccgo build 3 years ago
Dockerfile.go_build use go 1.17 for docker 3 years ago
Dockerfile.go_build_large use go 1.17 for docker 3 years ago
Dockerfile.local webdav: adds to docker file 4 years ago
Dockerfile.s3tests add 12 tests 4 years ago
Makefile add run_image 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