Skip to content

Instantly share code, notes, and snippets.

@feliperoberto
Created October 16, 2015 17:41
Show Gist options
  • Save feliperoberto/5585c51e291a8d065b6d to your computer and use it in GitHub Desktop.
Save feliperoberto/5585c51e291a8d065b6d to your computer and use it in GitHub Desktop.
seaweeds on docker
master:
image: seaweedfs
command: "master"
ports:
- '9333:9333'
- '8080:8080'
extra_hosts:
- 'master:192.168.0.15'
slave:
image: seaweedfs
links:
- master:master
command: "volume -dir='/data' -max=5 -mserver='master:9333' -port=8082 -ip='master'"
ports:
- '8082:8082'
@dnephin
Copy link

dnephin commented Oct 16, 2015

Are you planning on putting this up on a public repo somewhere? I'd like to show off this example.

If you aren't, do you mind if I create a sandbox-seaweedfs repo ?

@feliperoberto
Copy link
Author

Nice,
as soon as possible i'll try.
thank you for help me!

@feliperoberto
Copy link
Author

Sorry, for some reason I have not seen your last comment (about to turn it public).
Well, feel free to do it. In this way other people could be helped in the future.

@feliperoberto
Copy link
Author

Man, I run your example now. Work like a charm.
Very thank you!
If you make a PR let me know to give you an up vote!

@dnephin
Copy link

dnephin commented Oct 19, 2015

Cool, I'll do that sometime soon!

@feliperoberto
Copy link
Author

;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment