Add Versity S3 Gateway documentation to README.md, detailing configuration requirements and usage for shared object storage. This addition enhances clarity for users integrating S3-compatible APIs with POSIX directories.
This commit is contained in:
9
komodo/s3/versitygw/.env.sample
Normal file
9
komodo/s3/versitygw/.env.sample
Normal file
@@ -0,0 +1,9 @@
|
||||
# Versity S3 Gateway — root credentials for the flat-file IAM backend.
|
||||
# Copy to `.env` and set strong values before `docker compose up -d`.
|
||||
# https://github.com/versity/versitygw/wiki/Quickstart
|
||||
|
||||
ROOT_ACCESS_KEY=
|
||||
ROOT_SECRET_KEY=
|
||||
|
||||
# Host port mapped to the gateway (container listens on 10000).
|
||||
VERSITYGW_PORT=10000
|
||||
44
komodo/s3/versitygw/compose.yaml
Normal file
44
komodo/s3/versitygw/compose.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
# Versity S3 Gateway — POSIX backend over Docker volumes.
|
||||
# https://github.com/versity/versitygw
|
||||
services:
|
||||
versitygw:
|
||||
image: versity/versitygw:v1.3.1
|
||||
container_name: versitygw
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- ROOT_ACCESS_KEY=${ROOT_ACCESS_KEY}
|
||||
- ROOT_SECRET_KEY=${ROOT_SECRET_KEY}
|
||||
# Matches Helm chart default; enables `/_/health` for probes.
|
||||
- VGW_HEALTH=/_/health
|
||||
ports:
|
||||
- "${VERSITYGW_PORT:-10000}:10000"
|
||||
volumes:
|
||||
- s3_data:/data/s3
|
||||
- iam:/data/iam
|
||||
- versions:/data/versions
|
||||
command:
|
||||
- "--port"
|
||||
- ":10000"
|
||||
- "--iam-dir"
|
||||
- "/data/iam"
|
||||
- "posix"
|
||||
- "--versioning-dir"
|
||||
- "/data/versions"
|
||||
- "/data/s3"
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"-qO-",
|
||||
"http://127.0.0.1:10000/_/health",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
volumes:
|
||||
s3_data:
|
||||
iam:
|
||||
versions:
|
||||
Reference in New Issue
Block a user