Files
Jens Nylander 67a690f557 compose: SeaweedFS for the object store, MinIO's images are gone
MinIO's community edition was archived and its images withdrawn. Both
quay.io/minio/minio and quay.io/minio/mc now answer 401/404 to an
anonymous pull and they are off Docker Hub entirely, so `docker compose
up -d` could not fetch them and the quickstart was broken for anyone
without a local cache.

`weed mini` is master, volume server, filer and S3 gateway in one
process. It takes its admin identity from AWS_ACCESS_KEY_ID /
AWS_SECRET_ACCESS_KEY and creates the bucket named by S3_BUCKET, so the
mc one-shot goes away - and ensure_bucket() in sentio-storage already did
that job anyway. Its S3 port, 8333, is the one config/default.toml has
always pointed at.

e2e: 19/19 against it, including the attachment round-trip and raw .eml
archival through the store.
2026-10-17 11:48:44 +02:00

1.5 KiB

Security Policy

Reporting a vulnerability

Please report security vulnerabilities privately rather than through a public issue, so that a fix can be prepared before details are widely known.

Use GitHub's private vulnerability reporting for this repository.

Please include enough detail to reproduce: affected version or commit, the configuration involved, and the impact you believe it has.

Hardening a deployment

A few defaults exist for convenience and are wrong for anything internet-facing:

  • Rotate the bootstrap API key. Migration 007 seeds sentio_bootstrap_admin_CHANGE_ME with wildcard and platform:admin scope, which together reach every tenant. Replace it via POST /v1/tenants/{id}/api-keys and delete the original.
  • Change the compose credentials. docker-compose.yml ships development passwords for PostgreSQL and SeaweedFS. They are fine on a laptop and unsafe anywhere else.
  • Terminate TLS. Without a certificate at /etc/sentio/tls/ the server runs plaintext SMTP and does not bind port 465.
  • Keep the metrics endpoint internal. Prometheus metrics are unauthenticated and are not published by the compose stack.
  • Do not expose the rspamd controller, SeaweedFS admin UI, or NATS monitoring port beyond your own network.

Credentials in configuration

Every setting can be supplied as a SENTIO__SECTION__KEY environment variable, which takes precedence over the file. Prefer that for secrets and leave them out of the TOML entirely.