WhatsApp / WhatsApp-Business-API-Setup-Scripts

The scripts related to setting up WhatsApp business API
MIT License
410 stars 433 forks source link

db.env config file #9

Closed massimiliano-derosa closed 4 years ago

massimiliano-derosa commented 5 years ago

Hi, the file db.env have a wrong configuration.

-> WRONG WA_DB_PORT=3306 -> CORRECT WA_DB_PORT=33060

Regards Massimiliano & Fausto

mengyiyuan commented 5 years ago

Hi Massimiliano & Fausto,

WA_DB_PORT=3306 is correct when you use docker-compose.yml file.

Using docker-compose, you can refer to another service using the name of the service. As WA_DB_HOSTNAME in db.env is db, which is the name of the service, the port is the container port respectively.

Did you have issues installing using WA_DB_PORT=3306?

massimiliano-derosa commented 5 years ago

Yes maybe the issue is related to different infrastructure. We are using Openshift/Kubernetes and in our case the port have to be changed to works (as reported in the first comment).

mengyiyuan commented 5 years ago

For k8s setup, please use scripts from https://github.com/WhatsApp/WhatsApp-Business-API-Setup-Scripts/tree/master/installation/kubernetes, instead of the docker-compose files. The docs are here: https://developers.facebook.com/docs/whatsapp/installation/dev-multiconnect-minikube

To provide a documentation for production environment, we are also trying to get feedback about what k8s environment you use for your production system, are you using OpenShift? In what format, will you like the scripts to be presented?

jeet-from-win commented 5 years ago

My firm wanted to be a solution provider for Whatsapp Business API. I haven't found any documentation for above. I just found the registration form. How would I able to know, What are the requirements of Whatsapp and Facebook for allowing a firm to be a solution provider for their services?

thiagocmoraes commented 5 years ago

My firm wanted to be a solution provider for Whatsapp Business API. I haven't found any documentation for above. I just found the registration form. How would I able to know, What are the requirements of Whatsapp and Facebook for allowing a firm to be a solution provider for their services?

The product is still in closed beta and the registration form is the best way to keep up with our future releases. Thanks for the interest and hopefully we can expand access soon.