GithubHelp home page GithubHelp logo

Comments (2)

allburov avatar allburov commented on June 16, 2024

Hi! it can be deployed on any environment with docker support.

If you want to save sessions between restart - you need to have a file volume outside of container to run the command below:

docker run -d -v `pwd`/.sessions:/app/.sessions -p 3000:3000/tcp --name whatsapp-http-api devlikeapro/whatsapp-http-api-plus

We're working on remote storage for sessions yet #41

from whatsapp-http-api.

devlikepro avatar devlikepro commented on June 16, 2024

Hi!
We know that it's been more then a year since the request was requested, but we're happy to announce MongoDB remote storage for authentication data is available in 2023.4.2 version!

This feature is now available as part of the WAHA Plus offering.

We have documented the feature and its usage in our documentation, available at Session Storage.


To get started with the MongoDB storage, you can follow these simple steps:

First, start the MongoDB server by running the following command:

docker run -d -p 27017:27017 --name mongodb mongo

Next, initiate the WAHA with the WHATSAPP_SESSIONS_MONGO_URL environment variable, and note the use of the --network host option as well:

docker run -e WHATSAPP_SESSIONS_MONGO_URL=mongodb://localhost:27017/ --network host devlikeapro/whatsapp-http-api-plus

Following these steps, you will have successfully configured the MongoDB storage for WAHA. All session authentication data will now be stored in the MongoDB database.

For those of you eager to test this new feature, we would like to stress the importance of thoroughly testing MongoDB storage before deploying it in any production-related infrastructure.

patron:PRO

from whatsapp-http-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.