WAHA 2024.2 - Remote storage, persistent media files and health checks!
Hi!
We're proud to announce WAHA 2024.2! Here's a short list of features we added recently
--------------------------
Remote Storage for Authentication Information (MongoDB)
We are excited to announce a new feature in WAHA PLUS - remote storage support via MongoDB!
Available in WAHA PLUS version.
The feature allows you to conveniently store your session data, such as authentication information and configurations, in the MongoDB database, providing a more flexible and robust storage solution for your WAHA sessions.
Initially, this feature will support only storing authentication information. However, in the near future, we plan to expand its capabilities to store contacts, chats, messages, and other session-related data.
Please read and follow the steps on the guide to test this feature https://waha.devlike.pro/docs/how-to/storages/#sessions---mongodb
No more folders on the host (except media files, but we're working on this too)!
--------------------------
Health checks endpoint
To control the health status for your containers we added an endpoint for that - GET /api/health!
Available in WAHA PLUS version.
If you're using MongoDB for storing session, the endpoint also check the connection to the mongodb
--------------------------
Save files (media) between container restarts
Available in WAHA PLUS version.
If you want to use the local storage and save the media files between the container restarts for a long time - you need to:
- Specify a dedicated folder to store the media files using WHATSAPP_FILES_FOLDER=/app/.media environment variable
- Disable automatic media files cleanup using WHATSAPP_FILES_LIFETIME=0 environment variable
- Connect the volume to the specified folder using the -v /path/to/files/on/host:/app/.media option in docker run command to the folder specified in WHATSAPP_FILES_FOLDER environment variable.
Here’s all the steps in one command:
docker run -v /path/to/on/host/.media:/app/.media -e WHATSAPP_FILES_FOLDER=/app/.media -e WHATSAPP_FILES_LIFETIME=0 -p 3000:3000/tcp devlikeapro/whatsapp-http-api-plus
--------------------------
We are extremely grateful for the support we receive from our open-source community and our patrons on Patreon and Boosty! 🙏
Your support enables us to continue developing and improving WAHA, and we are committed to delivering more innovative features to enhance your experience. ❤️
Thank you for your continued support and stay tuned for more exciting updates! 🚀
If you don't have access to WAHA Plus - subscribe to one of our tiers on the platform (Patreon or Boosty) and get the key to get WAHA Plus on our portal! https://portal.devlike.pro/