Chris Lu 3986601ee8 add run_image 3 years ago
..
compose b612d5aebd s3 test get w/ If-Match: bogus ETag 3 years ago
nginx 0f1c08d8ec docker-compose 3 years ago
prometheus 0f1c08d8ec docker-compose 3 years ago
Dockerfile 1faafce832 fix docker image release 3 years ago
Dockerfile.go_build 40945a60cf use go 1.16.4 to build docker image 3 years ago
Dockerfile.go_build_large 40945a60cf use go 1.16.4 to build docker image 3 years ago
Dockerfile.local 9c56b46886 webdav: adds to docker file 3 years ago
Dockerfile.s3tests d66645ecda add 12 tests 3 years ago
Makefile 3986601ee8 add run_image 3 years ago
README.md bad2771802 Update docker README with docker buildx instructions. 4 years ago
entrypoint.sh bf5b795717 fix outdated cron job scripts 3 years ago
filer.toml 15ecf4e3bf filer: default to leveldb2 5 years ago
seaweedfs-compose.yml 9c56b46886 webdav: adds to docker file 3 years ago
seaweedfs-dev-compose.yml 9c56b46886 webdav: adds to docker file 3 years ago
seaweedfs.sql 6b4e9eef57 k8s build 3 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