Chatwoot uses Active Storage for storing attachments. The default storage option is local storage on your server, but you can configure cloud providers for better scalability and backup.
It is recommended to use a cloud provider for your Chatwoot storage to ensure proper backup of stored attachments and prevent data loss.
To use an s3 compatible service such as DigitalOcean Spaces, Minio etc..Configure the following env variables.
Copy
ACTIVE_STORAGE_SERVICE=s3_compatibleSTORAGE_BUCKET_NAME=STORAGE_ACCESS_KEY_ID=STORAGE_SECRET_ACCESS_KEY=STORAGE_REGION=nyc3STORAGE_ENDPOINT=https://nyc3.digitaloceanspaces.com#set force_path_style to true if using minio#STORAGE_FORCE_PATH_STYLE=true