|
@ -2,17 +2,13 @@ version: '2' |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
master: |
|
|
master: |
|
|
build: |
|
|
|
|
|
context: . |
|
|
|
|
|
dockerfile: Dockerfile.go_build |
|
|
|
|
|
|
|
|
image: chrislusf/seaweedfs:local |
|
|
ports: |
|
|
ports: |
|
|
- 9333:9333 |
|
|
- 9333:9333 |
|
|
- 19333:19333 |
|
|
- 19333:19333 |
|
|
command: "master -ip=master" |
|
|
command: "master -ip=master" |
|
|
volume: |
|
|
volume: |
|
|
build: |
|
|
|
|
|
context: . |
|
|
|
|
|
dockerfile: Dockerfile.go_build |
|
|
|
|
|
|
|
|
image: chrislusf/seaweedfs:local |
|
|
ports: |
|
|
ports: |
|
|
- 8080:8080 |
|
|
- 8080:8080 |
|
|
- 18080:18080 |
|
|
- 18080:18080 |
|
@ -20,9 +16,7 @@ services: |
|
|
depends_on: |
|
|
depends_on: |
|
|
- master |
|
|
- master |
|
|
filer: |
|
|
filer: |
|
|
build: |
|
|
|
|
|
context: . |
|
|
|
|
|
dockerfile: Dockerfile.go_build |
|
|
|
|
|
|
|
|
image: chrislusf/seaweedfs:local |
|
|
ports: |
|
|
ports: |
|
|
- 8888:8888 |
|
|
- 8888:8888 |
|
|
- 18888:18888 |
|
|
- 18888:18888 |
|
@ -31,12 +25,10 @@ services: |
|
|
- master |
|
|
- master |
|
|
- volume |
|
|
- volume |
|
|
s3: |
|
|
s3: |
|
|
build: |
|
|
|
|
|
context: . |
|
|
|
|
|
dockerfile: Dockerfile.go_build |
|
|
|
|
|
|
|
|
image: chrislusf/seaweedfs:local |
|
|
ports: |
|
|
ports: |
|
|
- 8333:8333 |
|
|
- 8333:8333 |
|
|
command: '-v=4 s3 -filer="filer:8888"' |
|
|
|
|
|
|
|
|
command: '-v=4 s3 -filer="filer:8888" -waitForFiler' |
|
|
depends_on: |
|
|
depends_on: |
|
|
- master |
|
|
- master |
|
|
- volume |
|
|
- volume |
|
|