Configuration
Every environment variable of the engine.
| Variable | Default | Meaning |
|---|---|---|
SYPNIA_FILES_DATABASE_URL | — | Postgres 14+ for sypnia_files |
SYPNIA_FILES_STORAGE | s3 | s3 or local |
SYPNIA_FILES_S3_ENDPOINT, _BUCKET, _REGION, _ACCESS_KEY_ID, _SECRET_ACCESS_KEY | AWS defaults | Your S3-compatible storage |
SYPNIA_FILES_JWKS_URL, _ISSUER, _AUDIENCE | — | The issuer of your users’ JWTs |
SYPNIA_FILES_SECRET_KEY | generated at install | The secret key (store it as a secret) |
SYPNIA_FILES_SIGNING_KEY | generated at install | The HMAC key of signed URLs |
SYPNIA_FILES_PUBLIC_URL | — | The content address used in public URLs |
SYPNIA_FILES_MAX_DIRECT_UPLOAD | 50MB | Above this, resumable uploads |
SYPNIA_FILES_SCAN | none | none, clamav, guardduty |