2016-09-24 00:49:38 +08:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
master:
|
2018-09-12 03:36:59 +08:00
|
|
|
build: .
|
2016-09-24 00:49:38 +08:00
|
|
|
ports:
|
|
|
|
- 9333:9333
|
|
|
|
command: "master"
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
aliases:
|
|
|
|
- seaweed_master
|
|
|
|
volume:
|
2018-09-12 03:36:59 +08:00
|
|
|
build: .
|
2016-09-24 00:49:38 +08:00
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
command: 'volume -max=5 -mserver="master:9333" -port=8080'
|
|
|
|
depends_on:
|
|
|
|
- master
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
aliases:
|
2018-09-12 03:36:59 +08:00
|
|
|
- seaweed_volume
|
|
|
|
filer:
|
|
|
|
build: .
|
|
|
|
ports:
|
|
|
|
- 8888:8888
|
|
|
|
command: 'filer -master="master:9333"'
|
|
|
|
depends_on:
|
|
|
|
- master
|
|
|
|
- volume
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
aliases:
|
|
|
|
- seaweed_filer
|