123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- version: '2'
- services:
- master:
- image: chrislusf/seaweedfs:local
- ports:
- - 9333:9333
- - 19333:19333
- command: "-v=1 master -ip=master"
- volumes:
- - ./tls:/etc/seaweedfs/tls
- env_file:
- - ${ENV_FILE:-dev.env}
- volume:
- image: chrislusf/seaweedfs:local
- ports:
- - 8080:8080
- - 18080:18080
- command: "-v=1 volume -mserver=master:9333 -port=8080 -ip=volume -preStopSeconds=1"
- depends_on:
- - master
- volumes:
- - ./tls:/etc/seaweedfs/tls
- env_file:
- - ${ENV_FILE:-dev.env}
- filer:
- image: chrislusf/seaweedfs:local
- ports:
- - 8888:8888
- - 18888:18888
- command: '-v=1 filer -master="master:9333"'
- depends_on:
- - master
- - volume
- volumes:
- - ./tls:/etc/seaweedfs/tls
- env_file:
- - ${ENV_FILE:-dev.env}
- s3:
- image: chrislusf/seaweedfs:local
- ports:
- - 8333:8333
- command: '-v=1 s3 -filer="filer:8888"'
- depends_on:
- - master
- - volume
- - filer
- volumes:
- - ./tls:/etc/seaweedfs/tls
- env_file:
- - ${ENV_FILE:-dev.env}
- mount:
- image: chrislusf/seaweedfs:local
- privileged: true
- cap_add:
- - SYS_ADMIN
- mem_limit: 4096m
- command: '-v=4 mount -filer="filer:8888" -dirAutoCreate -dir=/mnt/seaweedfs -cacheCapacityMB=100 -concurrentWriters=128'
- volumes:
- - ./tls:/etc/seaweedfs/tls
- env_file:
- - ${ENV_FILE:-dev.env}
- depends_on:
- - master
- - volume
- - filer
|