how to use with docker

This commit is contained in:
Felipe Roberto
2016-09-23 13:49:38 -03:00
parent 1bc041b46d
commit 0fbec28858
2 changed files with 45 additions and 1 deletions

23
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '2'
services:
master:
image: chrislusf/seaweedfs
ports:
- 9333:9333
command: "master"
networks:
default:
aliases:
- seaweed_master
volume:
image: chrislusf/seaweedfs
ports:
- 8080:8080
command: 'volume -max=5 -mserver="master:9333" -port=8080'
depends_on:
- master
networks:
default:
aliases:
- seaweed_volume