Scality Zenko Cloudserver
version: "3.8"
services:
s3:
image: zenko/cloudserver
ports:
- 8000:8000
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
- SCALITY_SECRET_ACCESS_KEY=verySecretKey1
- S3DATA=multiple
- S3BACKEND=mem
- ENDPOINT=custom.endpoint.com
volumes:
- ./data:/usr/src/app/localData
- ./metadata:/usr/src/app/localMetadata
# - ./locationConfig.json:/usr/src/app/locationConfig.json
# - ./authdata.json:/usr/src/app/conf/authdata.json
- ~/.aws/credentials:/root/.aws/credentials
container_name: s3-bucket
How it works (aws cli)
aws --endpoint-url=http://localhost:8000 s3api create-bucket --bucket mybucket --profile local
aws s3 ls --endpoint-url http://localhost:8000 --profile local
More about it here:
Docs
Git