FiloraFS
FiloraFS configuration
Configure Lite local storage and API keys or Pro databases, JWTs, storage providers, thumbnails, and limits.
Updated
FiloraFS-Lite
| Property | Current default | Purpose |
|---|---|---|
| server.port | 8000 | HTTP port |
| spring.servlet.multipart.max-file-size | 50MB | Per-file multipart limit |
| spring.servlet.multipart.max-request-size | 50MB | Request multipart limit |
| upload.path | Required placeholder | Writable local storage directory |
| file.api.key | Required placeholder | Expected X-API-KEY value |
FiloraFS-Pro database and JWT
| Property / environment name | Purpose |
|---|---|
| spring.datasource.url / SPRING_DATASOURCE_URL | MySQL JDBC URL |
| spring.datasource.username / SPRING_DATASOURCE_USERNAME | Database user |
| spring.datasource.password / SPRING_DATASOURCE_PASSWORD | Database password |
| app.jwt.secret / APP_JWT_SECRET | JWT signing secret |
| app.jwt.access-token-expiration-ms / APP_JWT_ACCESS_TOKEN_EXPIRATION_MS | Access-token lifetime; source default 900000 |
| app.jwt.refresh-token-expiration-ms / APP_JWT_REFRESH_TOKEN_EXPIRATION_MS | Refresh-token lifetime; source default 1209600000 |
FiloraFS-Pro files and thumbnails
| Property / environment name | Current source default |
|---|---|
| file.upload-dir / FILE_UPLOAD_DIR | Required local path |
| file.max-size-bytes / FILE_MAX_SIZE_BYTES | 52428800 |
| file.allowed-types / FILE_ALLOWED_TYPES | image/png,image/jpeg,application/pdf,video/mp4 |
| spring.servlet.multipart.max-file-size | 50MB |
| spring.servlet.multipart.max-request-size | 50MB |
| app.thumbnails.enabled / APP_THUMBNAILS_ENABLED | true |
| app.thumbnails.dir / APP_THUMBNAILS_DIR | thumbs |
| app.thumbnails.width / APP_THUMBNAILS_WIDTH | 300 |
| app.thumbnails.quality / APP_THUMBNAILS_QUALITY | 0.85 |
FiloraFS-Pro S3
| Property / environment name | Purpose |
|---|---|
| s3.enabled / S3_ENABLED | Enable S3 beans and provider checks |
| s3.access-key / S3_ACCESS_KEY | Access key from a secret store |
| s3.secret-key / S3_SECRET_KEY | Secret key from a secret store |
| s3.region / S3_REGION | AWS region; source default us-east-1 |
| s3.bucket / S3_BUCKET | Storage bucket |
| s3.endpoint-url / S3_ENDPOINT_URL | Optional 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.