Created
May 25, 2021 03:07
-
-
Save prologic/d602c2c8f77ee8b9ccebab3db7183769 to your computer and use it in GitHub Desktop.
SeaweedFS Docker Swarm Stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "3.8" | |
services: | |
master: | |
image: chrislusf/seaweedfs:latest | |
command: master -mdir=/data | |
networks: | |
- weed | |
volumes: | |
- master:/data | |
deploy: | |
mode: replicated | |
replicas: 1 | |
volume: | |
image: chrislusf/seaweedfs:latest | |
command: volume -dir=/data -mserver=master:9333 | |
networks: | |
- weed | |
volumes: | |
- volume:/data | |
deploy: | |
mode: global | |
filer: | |
image: chrislusf/seaweedfs:latest | |
command: filer -master=master:9333 | |
ports: | |
- "8888:8888/tcp" | |
networks: | |
- weed | |
deploy: | |
mode: replicated | |
replicas: 1 | |
networks: | |
weed: | |
attachable: true | |
driver: overlay | |
volumes: | |
master: | |
driver: local | |
volume: | |
driver: local |
TODO:
- Test multi-node cluster
- Run some "benchmarks"
- Run some workloads
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install with: