Self-hosted S3-compatible object storage with a built-in web console, IAM and erasure coding
354
Self-hosted, S3-compatible object storage, with the web console in the same image (like MinIO). The AWS SDKs, AWS CLI, rclone, boto3 and other S3 tools work unchanged. You only change the endpoint and credentials.
Source and docs: https://github.com/Yahevdhou/stowage
cat > stowage.env <<EOF
STOWAGE_ROOT_ACCESS_KEY=$(openssl rand -hex 10)
STOWAGE_ROOT_SECRET_KEY=$(openssl rand -hex 20)
STOWAGE_MASTER_KEY=$(openssl rand -base64 32)
CONSOLE_SESSION_SECRET=$(openssl rand -base64 32)
EOF
docker run -d --name stowage --restart unless-stopped \
-p 9000:9000 -p 9001:9001 -p 9002:9002 \
-v stowage-data:/data --env-file stowage.env \
yahevdhou/stowage:latest
stowage.env)aws --endpoint-url http://localhost:9000 s3 mb s3://my-bucket
Use path-style addressing (forcePathStyle: true in the JS SDK) and any region, for example
us-east-1.
| Port | Service |
|---|---|
| 9000 | S3 API |
| 9001 | Admin API |
| 9002 | Web console |
| 9100 | Cluster RPC (cluster mode only) |
| Path | Contents |
|---|---|
/data | Objects and metadata (single-drive mode) |
/drives/* | Mount points for erasure-coded drives (STOWAGE_DRIVES) |
| Variable | Description |
|---|---|
STOWAGE_ROOT_ACCESS_KEY | Required. Root access key (3–128 characters) |
STOWAGE_ROOT_SECRET_KEY | Required. Root secret key (8–128 characters) |
STOWAGE_MASTER_KEY | 32-byte base64 key. Enables user access keys and encryption at rest. Keep it safe and never change it: data encrypted with it is unreadable without it. |
CONSOLE_SESSION_SECRET | 32+ characters. Keeps console sign-ins across restarts. |
STOWAGE_PUBLIC_S3_ENDPOINT | S3 address that browsers use (default http://localhost:9000). Set it when the S3 API is published at another host, port or behind a proxy. |
STOWAGE_CONSOLE_ORIGIN | The console's address, allowed by CORS (default http://localhost:9002) |
STOWAGE_CONSOLE | false runs the S3 server only, without the console |
STOWAGE_REGION | Region accepted in signatures (default us-east-1) |
STOWAGE_TLS_CERT / STOWAGE_TLS_KEY | PEM files that serve HTTPS (reloaded on SIGHUP) |
STOWAGE_DRIVES | 4–16 comma-separated drive paths, for erasure-coding mode |
The full list is in the repository README.
latest, 1, 1.2, 1.2.3, following the release version. Pre-releases such as
1.3.0-rc.1 get only their exact tag. Images are built for linux/amd64 and linux/arm64.
GET /_stowage/health/live (process up) and GET /_stowage/health/ready (storage open).
The image's HEALTHCHECK also checks the console.
MIT
Content type
Image
Digest
sha256:76409e731…
Size
104.9 MB
Last updated
about 1 month ago
docker pull yahevdhou/stowage