|
@ -2,7 +2,7 @@ version: '2' |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
master: |
|
|
master: |
|
|
image: chrislusf/seaweedfs |
|
|
|
|
|
|
|
|
build: . |
|
|
ports: |
|
|
ports: |
|
|
- 9333:9333 |
|
|
- 9333:9333 |
|
|
command: "master" |
|
|
command: "master" |
|
@ -11,7 +11,7 @@ services: |
|
|
aliases: |
|
|
aliases: |
|
|
- seaweed_master |
|
|
- seaweed_master |
|
|
volume: |
|
|
volume: |
|
|
image: chrislusf/seaweedfs |
|
|
|
|
|
|
|
|
build: . |
|
|
ports: |
|
|
ports: |
|
|
- 8080:8080 |
|
|
- 8080:8080 |
|
|
command: 'volume -max=5 -mserver="master:9333" -port=8080' |
|
|
command: 'volume -max=5 -mserver="master:9333" -port=8080' |
|
@ -21,3 +21,15 @@ services: |
|
|
default: |
|
|
default: |
|
|
aliases: |
|
|
aliases: |
|
|
- seaweed_volume |
|
|
- seaweed_volume |
|
|
|
|
|
filer: |
|
|
|
|
|
build: . |
|
|
|
|
|
ports: |
|
|
|
|
|
- 8888:8888 |
|
|
|
|
|
command: 'filer -master="master:9333"' |
|
|
|
|
|
depends_on: |
|
|
|
|
|
- master |
|
|
|
|
|
- volume |
|
|
|
|
|
networks: |
|
|
|
|
|
default: |
|
|
|
|
|
aliases: |
|
|
|
|
|
- seaweed_filer |