diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2016-09-23 10:07:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-23 10:07:06 -0700 |
| commit | 8fa61c28e4745d5ec7e89508740ce9cb2900fffb (patch) | |
| tree | 779af47929de7edb30aec64c2cc3866d237a1050 | |
| parent | 61550f1b0acc9d0e6167397f07c3bc69eb83d95b (diff) | |
| download | seaweedfs-8fa61c28e4745d5ec7e89508740ce9cb2900fffb.tar.xz seaweedfs-8fa61c28e4745d5ec7e89508740ce9cb2900fffb.zip | |
Update README.md
| -rw-r--r-- | README.md | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -62,28 +62,6 @@ SeaweedFS uses HTTP REST operations to write, read, delete. The responses are in > weed volume -dir="/tmp/data2" -max=10 -mserver="localhost:9333" -port=8081 & ``` -### Running with Docker ### - -Use with docker is easy as run locally, you can pass all args like above. But you don't need to worry about "-ip". It'll be treated by the entrypoint script. - -``` -docker run -p 9333:9333 --name master chrislusf/seaweedfs master -``` -``` -docker run -p 8080:8080 --name volume --link master chrislusf/seaweedfs volume -max=5 -mserver="master:9333" -port=8080 -``` -#### With Compose #### -But with Compose it's easiest. -To startup just run: -``` -docker-compose -f docker/docker-compose.yml up -``` -And to scale: -``` -docker-compose -f docker/docker-compose.yml scale volume=2 -``` -Remember that if multiple containers for volume are created on a single host, the port will clash. - ### Write File ### |
