mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
e932262b07
Depending on a setup, 1GB volume limit is not the preferable size. As weed can process multiple arguements and the later argument is the one to be used, it is relatively easy to override the arguments defined in the entrypoint. The arguments passed to the script will be shifted and appended at the end of the command. Since the first argument will fall into specific case, the argument can be predefined and the whole argument array shifted. Allowing to do "volume/server/master/etc $ARGS $@" |
||
---|---|---|
.. | ||
Dockerfile | ||
Dockerfile.go_build | ||
Dockerfile.go_build_large | ||
Dockerfile.local | ||
entrypoint.sh | ||
filer.toml | ||
local-cluster-compose.yml | ||
local-dev-compose.yml | ||
Makefile | ||
README.md | ||
seaweedfs-compose.yml | ||
seaweedfs-dev-compose.yml |
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