mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-23 17:07:57 +08:00
949607fe90
* docs(compose): Update readme for compose v2 upgrade Signed-off-by: Ryan Russell <git@ryanrussell.org> * refactor(compose): Upgrade `Makefile` for compose v2 Signed-off-by: Ryan Russell <git@ryanrussell.org> * refactor(compose): Upgrade yml from version 2 -> 3.9 Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
29 lines
716 B
YAML
29 lines
716 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
server1:
|
|
image: chrislusf/seaweedfs:local
|
|
ports:
|
|
- 9333:9333
|
|
- 19333:19333
|
|
- 8084:8080
|
|
- 18084:18080
|
|
- 8888:8888
|
|
- 18888:18888
|
|
command: "server -ip=server1 -filer -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1"
|
|
volumes:
|
|
- ./master-cloud.toml:/etc/seaweedfs/master.toml
|
|
depends_on:
|
|
- server2
|
|
server2:
|
|
image: chrislusf/seaweedfs:local
|
|
ports:
|
|
- 9334:9333
|
|
- 19334:19333
|
|
- 8085:8080
|
|
- 18085:18080
|
|
- 8889:8888
|
|
- 18889:18888
|
|
- 8334:8333
|
|
command: "server -ip=server2 -filer -s3 -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1"
|