|
@ -10,10 +10,9 @@ services: |
|
|
volume: |
|
|
volume: |
|
|
image: chrislusf/seaweedfs:local |
|
|
image: chrislusf/seaweedfs:local |
|
|
ports: |
|
|
ports: |
|
|
- 8080:8080 |
|
|
|
|
|
- 18080:18080 |
|
|
|
|
|
|
|
|
- 7455:8080 |
|
|
- 9325:9325 |
|
|
- 9325:9325 |
|
|
command: 'volume -mserver="master:9333" -port=8080 -metricsPort=9325 -preStopSeconds=1' |
|
|
|
|
|
|
|
|
command: 'volume -mserver="master:9333" -port=8080 -metricsPort=9325 -preStopSeconds=1 -publicUrl=localhost:7455' |
|
|
depends_on: |
|
|
depends_on: |
|
|
- master |
|
|
- master |
|
|
filer: |
|
|
filer: |
|
@ -31,7 +30,7 @@ services: |
|
|
mount_1: |
|
|
mount_1: |
|
|
image: chrislusf/seaweedfs:local |
|
|
image: chrislusf/seaweedfs:local |
|
|
privileged: true |
|
|
privileged: true |
|
|
entrypoint: '/bin/sh -c "mkdir -p t1 && mkdir -p cache/t1 && weed -v=4 mount -filer=filer:8888 -cacheDir=./cache/t1 -dir=./t1 -filer.path=/c1"' |
|
|
|
|
|
|
|
|
entrypoint: '/bin/sh -c "mkdir -p t1 && mkdir -p cache/t1 && weed -v=4 mount -filer=filer:8888 -cacheDir=./cache/t1 -dir=./t1 -filer.path=/c1" -volumeServerAccess=filerProxy' |
|
|
depends_on: |
|
|
depends_on: |
|
|
- master |
|
|
- master |
|
|
- volume |
|
|
- volume |
|
@ -39,7 +38,7 @@ services: |
|
|
mount_2: |
|
|
mount_2: |
|
|
image: chrislusf/seaweedfs:local |
|
|
image: chrislusf/seaweedfs:local |
|
|
privileged: true |
|
|
privileged: true |
|
|
entrypoint: '/bin/sh -c "mkdir -p t2 && mkdir -p cache/t2 && weed -v=4 mount -filer=filer:8888 -cacheDir=./cache/t2 -dir=./t2 -filer.path=/c1"' |
|
|
|
|
|
|
|
|
entrypoint: '/bin/sh -c "mkdir -p t2 && mkdir -p cache/t2 && weed -v=4 mount -filer=filer:8888 -cacheDir=./cache/t2 -dir=./t2 -filer.path=/c1" -volumeServerAcess=publicUrl' |
|
|
depends_on: |
|
|
depends_on: |
|
|
- master |
|
|
- master |
|
|
- volume |
|
|
- volume |
|
|