Documentation menu

FiloraFS-Prov1.0.0

FiloraFS-Pro configuration

Start with H2 and local storage, then override persistence, JWT, files, thumbnails, and S3 through .env.

Updated

Runnable local defaults

FiloraFS-Pro defaults
AreaDefault
Port8080
Metadata databaseIn-memory H2
StorageLocal development directory
JWT secretEphemeral local value
Demo dataEnabled for evaluation
AWS S3Disabled

Database and JWT overrides

Persistence and authentication variables
VariablePurpose
DB_URLExternal JDBC URL
DB_USERNAMEExternal database user
DB_PASSWORDExternal database password
JWT_SECRETStable high-entropy signing secret
JWT_ACCESS_TOKEN_TTLAccess-token lifetime
JWT_REFRESH_TOKEN_TTLRefresh-token lifetime

Files and thumbnails

File variables
VariablePurpose
FILE_UPLOAD_DIRPersistent local storage directory
FILE_MAX_SIZE_BYTESMaximum accepted file size
FILE_ALLOWED_TYPESComma-separated content-type allowlist
APP_THUMBNAILS_ENABLEDEnable thumbnail generation
APP_THUMBNAILS_DIRThumbnail storage directory
APP_THUMBNAILS_WIDTHGenerated thumbnail width
APP_THUMBNAILS_QUALITYGenerated thumbnail quality

AWS S3

S3 variables
VariablePurpose
S3_ENABLEDEnable the S3 provider
S3_ACCESS_KEYProvider access key
S3_SECRET_KEYProvider secret key
S3_REGIONProvider region
S3_BUCKETStorage bucket
S3_ENDPOINT_URLOptional compatible endpoint

Before deployment

  • Disable demo data.
  • Use a managed external database and controlled migrations.
  • Store JWT and provider credentials in a secret manager.
  • Use persistent storage and backups.
  • Review ownership, rate limits, monitoring, and audit requirements.