mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 16:00:15 +08:00

Some checks failed
go: build dev binaries / cleanup (push) Has been cancelled
docker: build dev containers / build-dev-containers (push) Has been cancelled
End to End / FUSE Mount (push) Has been cancelled
go: build binary / Build (push) Has been cancelled
Ceph S3 tests / Ceph S3 tests (push) Has been cancelled
go: build dev binaries / build_dev_linux_windows (amd64, linux) (push) Has been cancelled
go: build dev binaries / build_dev_linux_windows (amd64, windows) (push) Has been cancelled
go: build dev binaries / build_dev_darwin (amd64, darwin) (push) Has been cancelled
go: build dev binaries / build_dev_darwin (arm64, darwin) (push) Has been cancelled
* fix S3 per-user-directory Policy * Delete docker/config.json * add tests * remove logs * undo modifications of weed/shell/command_volume_balance.go * remove modifications of docker-compose * fix failing test --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
81 lines
1.8 KiB
YAML
81 lines
1.8 KiB
YAML
version: '3.9'
|
|
|
|
services:
|
|
master:
|
|
image: chrislusf/seaweedfs:local
|
|
ports:
|
|
- 9333:9333
|
|
- 19333:19333
|
|
command: "-v=1 master -ip=master -volumeSizeLimitMB=10"
|
|
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 -max=10000"
|
|
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 -ip.bind=0.0.0.0 -master="master:9333"'
|
|
depends_on:
|
|
- master
|
|
- volume
|
|
volumes:
|
|
- ./tls:/etc/seaweedfs/tls
|
|
env_file:
|
|
- ${ENV_FILE:-dev.env}
|
|
|
|
iam:
|
|
image: chrislusf/seaweedfs:local
|
|
ports:
|
|
- 8111:8111
|
|
command: '-v=1 iam -filer="filer:8888" -master="master:9333"'
|
|
depends_on:
|
|
- master
|
|
- volume
|
|
- filer
|
|
volumes:
|
|
- ./tls:/etc/seaweedfs/tls
|
|
|
|
s3:
|
|
image: chrislusf/seaweedfs:local
|
|
ports:
|
|
- 8333:8333
|
|
command: '-v=1 s3 -filer="filer:8888" -ip.bind=s3'
|
|
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
|