Este conteúdo não está disponível em sua língua ainda.
Storage Providers
ALTCHA Sentinel supports remote and local storage providers for handling file uploads in forms and storing database snapshots.
Supported Providers
The following storage providers are currently supported:
AWS S3
To use AWS S3 or any S3-compatible service (e.g., MinIO, Cloudflare R2), set the following environment variables:
STORAGE_PROVIDER=s3STORAGE_S3_BUCKETSTORAGE_S3_ACCESS_KEY_IDSTORAGE_S3_SECRET_ACCESS_KEYSTORAGE_S3_REGIONSTORAGE_S3_ENDPOINT(optional; use for custom endpoints or S3-compatible services)
Azure Blob Storage
To use Azure Blob Storage, set the following environment variables:
STORAGE_PROVIDER=azureSTORAGE_AZURE_CONTAINERSTORAGE_AZURE_CONNECTION_STRING
Local File System
By default, Sentinel uses the local file system for storage. Files are stored in the data directory.
STORAGE_PROVIDER=local(default)STORAGE_LOCAL_DIR(defaults to{DATA_DIR}/storage)
Snapshots
Database snapshots can use a different storage provider than the one used for file uploads. To configure this, use the same environment variables as above, prefixed with SNAPSHOTS_. For example:
SNAPSHOTS_STORAGE_PROVIDERSNAPSHOTS_STORAGE_S3_BUCKETSNAPSHOTS_STORAGE_S3_ACCESS_KEY_IDSNAPSHOTS_STORAGE_S3_SECRET_ACCESS_KEYSNAPSHOTS_STORAGE_AZURE_CONTAINERSNAPSHOTS_STORAGE_LOCAL_DIR
This separation allows you to store snapshots independently of form uploads—ideal for backup and redundancy strategies.