seaweedfs/docker
Kaiwalya Joshi 47d335cf8c
feat: Send commands to weed shell from the docker image.
Add the ability to send commands to weed shell from the docker image.

Allows an operator to perform maintenance commands like so:
```
docker run \
  --rm \
  -e SHELL_FILER=localhost:8888 \
  -e SHELL_MASTER=localhost:9333 \
  chrislusf/seaweedfs:local \
  "shell" \
  "fs.configure -locationPrefix=/buckets/foo -volumeGrowthCount=3 -replication=002 -apply"
```
2022-06-01 15:47:10 -07:00
..
compose docker compose nextcloud rm mysql 2022-05-23 20:11:32 +05:00
nginx docker-compose 2021-01-17 18:33:14 +05:00
prometheus docker-compose 2021-01-17 18:33:14 +05:00
Dockerfile.gccgo_build docker: entry point change working directory from root to /data 2021-11-12 17:21:49 -08:00
Dockerfile.go_build build release containers for all tags 2022-05-14 18:40:32 +05:00
Dockerfile.local docker: entry point change working directory from root to /data 2021-11-12 17:21:49 -08:00
Dockerfile.rocksdb_large rocksdb up version to v7.2.2 2022-05-15 01:22:55 +05:00
Dockerfile.s3tests add 12 tests 2021-03-12 12:40:33 +05:00
entrypoint.sh feat: Send commands to weed shell from the docker image. 2022-06-01 15:47:10 -07:00
filer.toml filer: default to leveldb2 2019-06-30 00:44:57 -07:00
filer_rocksdb.toml add filer.toml for rocksdb to docker image for rocksdb 2022-02-09 00:12:53 -08:00
Makefile docker compose file for nextcloud testing 2022-05-23 18:53:35 +05:00
README.md Update docker README with docker buildx instructions. 2020-06-30 23:38:00 +02:00
seaweedfs-compose.yml docker compose: use ip.bind=0.0.0.0 2022-05-06 22:58:46 -07:00
seaweedfs-dev-compose.yml webdav: adds to docker file 2021-01-31 22:57:30 -08:00
seaweedfs.sql docker compose file for nextcloud testing 2022-05-23 18:53:35 +05:00

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