Konstantin Lebedev 0f1c08d8ec docker-compose 3 years ago
..
nginx 0f1c08d8ec docker-compose 3 years ago
prometheus 0f1c08d8ec docker-compose 3 years ago
Dockerfile af8dffd66f Add fuse to docker image 3 years ago
Dockerfile.go_build 712563fbdd dev cluster adds fuse mount 3 years ago
Dockerfile.go_build_large 712563fbdd dev cluster adds fuse mount 3 years ago
Dockerfile.local efd4253ab6 Add fuse to all dockerfiles 3 years ago
Makefile 6b4e9eef57 k8s build 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
local-cluster-compose.yml 12eafd634d add public url for volume server 4 years ago
local-dev-compose.yml e9ccc0a6c5 adjust 3 years ago
local-k8s-compose.yml 0f1c08d8ec docker-compose 3 years ago
local-registry-compose.yml eadbba5c95 security master use access.ui 4 years ago
seaweedfs-compose.yml 0f1c08d8ec docker-compose 3 years ago
seaweedfs-dev-compose.yml 3775211962 optimize entrypoint for docker 4 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