Server Settings
Configure server settings including port, address, database, and caching.
Basic Server Configuration
Configuration Options
port
Server port (default: 8080)
baseURL
Base URL – primarily for reverse proxy
database
Database file path
cacheDir
Temporary cache directory for file operations
unRAID Users: If you’re using unRAID, you must mount a volume for the cache directory. The default container user (if not uid 1000) needs write access to this directory.
The cacheDir is a critical configuration that defines where FileBrowser stores temporary files during various operations. This directory is used for:
- Chunked file uploads: Each upload chunk is temporarily stored here before being assembled
- Image preview generation: Thumbnails and processed images are cached
- Archive operations: ZIP extraction and compression temporary files
- Document processing: Temporary files during PDF/image conversion
- Video processing: Some media files during video operations
Important Considerations
Permissions: The FileBrowser process must have read/write/execute permissions on the cache directory. This is especially critical in Docker environments.
Disk Space: The cache directory can grow significantly during large file operations. Monitor disk usage and ensure adequate space. If you are using docker – consider mounting a sufficient volume for temp directory if you need more space.
Docker Examples
Basic Docker Setup:
Corresponding config.yaml:
With Non-Root User (Recommended):
Corresponding config.yaml:
Troubleshooting
Permission Issues:
By default, filebrowser uses uid 1000 for the user (you can change that):
internalUrl
Internal URL for integrations to access filebrowser (Currently just OnlyOffice)
this could be a docker network dns name or a local IP address on the network. This address should allow the integration to communicate directly with the service.