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.
 
 
 
 
 
Konstantin Lebedev d12a423aa0 refactor 3 years ago
..
compose refactor 3 years ago
nginx docker-compose 4 years ago
prometheus docker-compose 4 years ago
Dockerfile.gccgo_build docker: entry point change working directory from root to /data 3 years ago
Dockerfile.go_build docker move to go version 1.18 3 years ago
Dockerfile.go_build_large docker move to go version 1.18 3 years ago
Dockerfile.local docker: entry point change working directory from root to /data 3 years ago
Dockerfile.rocksdb_large go 1.18 for rocksdb 3 years ago
Dockerfile.s3tests add 12 tests 4 years ago
Makefile refactor 3 years ago
README.md Update docker README with docker buildx instructions. 5 years ago
entrypoint.sh avoid too many logs in tmp folder 3 years ago
filer.toml filer: default to leveldb2 6 years ago
filer_rocksdb.toml add filer.toml for rocksdb to docker image for rocksdb 3 years ago
seaweedfs-compose.yml docker compose: use ip.bind=0.0.0.0 3 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