Variable | Default value |
---|---|
ACCESS_KEY | demo-key |
SECRET_KEY | demo-secret |
BUCKET_NAME | demo-bucket |
- 7480 -> HTTP
- 7443 -> HTTPS
podman pull docker.io/emadalblueshi/lite-ceph-s3-gw:v1.0.0
docker pull docker.io/emadalblueshi/lite-ceph-s3-gw:v1.0.0
podman run -d \
-p 7480:7480 \
-p 7443:7443 \
-e BUCKET_NAME="demo-bucket" \
-e ACCESS_KEY="demo-key" \
-e SECRET_KEY="demo-secret" \
-t emadalblueshi/lite-ceph-s3-gw:v1.0.0
docker run -d \
-p 7480:7480 \
-p 7443:7443 \
-e BUCKET_NAME="demo-bucket" \
-e ACCESS_KEY="demo-key" \
-e SECRET_KEY="demo-secret" \
-t emadalblueshi/lite-ceph-s3-gw:v1.0.0
curl http://localhost:7480/demo-bucket/demo-object.txt
curl -k https://localhost:7443/demo-bucket/demo-object.txt
The container image is lighter and faster than ceph/demo because
most modules are turned off except for the mandetory ones with radosgw
during initializing.
The main reason of this container image is to make integration tests easier for the projects.
Honestly, I'm NOT Ceph expert but I did humble research to make the container image available for the community 🙂
Suggestions and pull requests are welcome to optimize the container image for testing environments only.