Documentation menu

FiloraFS

FiloraFS configuration

Configure Lite local storage and API keys or Pro databases, JWTs, storage providers, thumbnails, and limits.

Updated

FiloraFS-Lite

Lite application properties
PropertyCurrent defaultPurpose
server.port8000HTTP port
spring.servlet.multipart.max-file-size50MBPer-file multipart limit
spring.servlet.multipart.max-request-size50MBRequest multipart limit
upload.pathRequired placeholderWritable local storage directory
file.api.keyRequired placeholderExpected X-API-KEY value

FiloraFS-Pro database and JWT

Pro database and JWT properties
Property / environment namePurpose
spring.datasource.url / SPRING_DATASOURCE_URLMySQL JDBC URL
spring.datasource.username / SPRING_DATASOURCE_USERNAMEDatabase user
spring.datasource.password / SPRING_DATASOURCE_PASSWORDDatabase password
app.jwt.secret / APP_JWT_SECRETJWT signing secret
app.jwt.access-token-expiration-ms / APP_JWT_ACCESS_TOKEN_EXPIRATION_MSAccess-token lifetime; source default 900000
app.jwt.refresh-token-expiration-ms / APP_JWT_REFRESH_TOKEN_EXPIRATION_MSRefresh-token lifetime; source default 1209600000

FiloraFS-Pro files and thumbnails

Pro file properties
Property / environment nameCurrent source default
file.upload-dir / FILE_UPLOAD_DIRRequired local path
file.max-size-bytes / FILE_MAX_SIZE_BYTES52428800
file.allowed-types / FILE_ALLOWED_TYPESimage/png,image/jpeg,application/pdf,video/mp4
spring.servlet.multipart.max-file-size50MB
spring.servlet.multipart.max-request-size50MB
app.thumbnails.enabled / APP_THUMBNAILS_ENABLEDtrue
app.thumbnails.dir / APP_THUMBNAILS_DIRthumbs
app.thumbnails.width / APP_THUMBNAILS_WIDTH300
app.thumbnails.quality / APP_THUMBNAILS_QUALITY0.85

FiloraFS-Pro S3

Pro S3 properties
Property / environment namePurpose
s3.enabled / S3_ENABLEDEnable S3 beans and provider checks
s3.access-key / S3_ACCESS_KEYAccess key from a secret store
s3.secret-key / S3_SECRET_KEYSecret key from a secret store
s3.region / S3_REGIONAWS region; source default us-east-1
s3.bucket / S3_BUCKETStorage bucket
s3.endpoint-url / S3_ENDPOINT_URLOptional S3-compatible endpoint

Profiles and secret handling

The released FiloraFS projects do not define a complete named-profile strategy. Use Spring's external configuration precedence or deployment environment variables, keep environment-specific files untracked, and separate local, test, and production values in your deployment system.