chrislu 22362f6495 avoid too many logs in tmp folder 2 years ago
..
compose 4f98553ba9 audit log SignatureVersion 2 years ago
nginx 0f1c08d8ec docker-compose 3 years ago
prometheus 0f1c08d8ec docker-compose 3 years ago
Dockerfile.gccgo_build 947fe4cc97 docker: entry point change working directory from root to /data 3 years ago
Dockerfile.go_build 947fe4cc97 docker: entry point change working directory from root to /data 3 years ago
Dockerfile.go_build_large 947fe4cc97 docker: entry point change working directory from root to /data 3 years ago
Dockerfile.local 947fe4cc97 docker: entry point change working directory from root to /data 3 years ago
Dockerfile.rocksdb_large eb39f78396 rocksdb: PORTABLE=1 2 years ago
Dockerfile.s3tests d66645ecda add 12 tests 3 years ago
Makefile 4f98553ba9 audit log SignatureVersion 2 years ago
README.md bad2771802 Update docker README with docker buildx instructions. 4 years ago
entrypoint.sh 22362f6495 avoid too many logs in tmp folder 2 years ago
filer.toml 15ecf4e3bf filer: default to leveldb2 5 years ago
filer_rocksdb.toml 13cb609f60 add filer.toml for rocksdb to docker image for rocksdb 2 years ago
seaweedfs-compose.yml 73e3e77904 deprecate all cronjob module related code 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