HUB
Sign inSign up

yahevdhou/stowage

By yahevdhou

•Updated about 1 month ago

Self-hosted S3-compatible object storage with a built-in web console, IAM and erasure coding

Image
Databases & storage
0

354

yahevdhou/stowage repository overview

⁠Stowage

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⁠

⁠Quick start

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
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.

⁠What's included

  • S3 API: buckets, objects, multipart uploads, presigned URLs and browser POST uploads, range reads, copy, batch delete, CORS, versioning, tagging, lifecycle rules, checksums.
  • Durability: crash-safe writes, a background scrubber that detects bitrot, and optional erasure coding across 4–16 drives with self-healing.
  • Security: IAM users and access keys, IAM-style and bucket policies, public-read buckets, SSE-S3 encryption at rest, TLS, rate limiting.
  • Web console: browse, upload and preview files; manage buckets, users and policies; grant a user access to specific buckets only.
  • Operations: admin JSON API, Prometheus metrics, health endpoints, 3+ node clustering.

⁠Ports

PortService
9000S3 API
9001Admin API
9002Web console
9100Cluster RPC (cluster mode only)

⁠Volumes

PathContents
/dataObjects and metadata (single-drive mode)
/drives/*Mount points for erasure-coded drives (STOWAGE_DRIVES)

⁠Main environment variables

VariableDescription
STOWAGE_ROOT_ACCESS_KEYRequired. Root access key (3–128 characters)
STOWAGE_ROOT_SECRET_KEYRequired. Root secret key (8–128 characters)
STOWAGE_MASTER_KEY32-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_SECRET32+ characters. Keeps console sign-ins across restarts.
STOWAGE_PUBLIC_S3_ENDPOINTS3 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_ORIGINThe console's address, allowed by CORS (default http://localhost:9002)
STOWAGE_CONSOLEfalse runs the S3 server only, without the console
STOWAGE_REGIONRegion accepted in signatures (default us-east-1)
STOWAGE_TLS_CERT / STOWAGE_TLS_KEYPEM files that serve HTTPS (reloaded on SIGHUP)
STOWAGE_DRIVES4–16 comma-separated drive paths, for erasure-coding mode

The full list is in the repository README.

⁠Tags

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.

⁠Health

GET /_stowage/health/live (process up) and GET /_stowage/health/ready (storage open). The image's HEALTHCHECK also checks the console.

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:76409e731…

Size

104.9 MB

Last updated

about 1 month ago

docker pull yahevdhou/stowage