Chris Lu 6593a0f3d1 adjust 3 years ago
..
compose 6593a0f3d1 adjust 3 years ago
nginx 0f1c08d8ec docker-compose 3 years ago
prometheus 0f1c08d8ec docker-compose 3 years ago
Dockerfile 4de2d6774a Add build arg to choose dev or stable release 3 years ago
Dockerfile.go_build 9c56b46886 webdav: adds to docker file 3 years ago
Dockerfile.go_build_large 9c56b46886 webdav: adds to docker file 3 years ago
Dockerfile.local 9c56b46886 webdav: adds to docker file 3 years ago
Dockerfile.s3tests 127097cd2b ceph s3-tests include in the docker compose files 3 years ago
Makefile 127097cd2b ceph s3-tests include in the docker compose files 3 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
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