All uploaded files—attachments, images, and reports—are stored in the /app/webroot/uploads directory by default.
Options for Storage
- Local Disk (Default): Fastest for small teams or single servers.
- NFS / NAS: Recommended for multi-node setups or high availability clusters.
- Object Storage (S3-Compatible): For cloud deployments, integrate with AWS S3 or MinIO using mounted volumes.
Docker Compose Example:
volumes:
– ./uploads:/var/www/html/app/webroot/uploads
– ./uploads:/var/www/html/app/webroot/uploads
Backup Note: Always include /uploads in your backup strategy to retain file attachments alongside the database.