API to persist ServisBOT conversation history in a MySQL Database.
139
This image can be used to host a node.js application which will interact with a MYSQL Database to provide a ServisBOT chat history server and the associated API.
The following environment variables are required by the application
APP_NAME=chathistoryserver
NODE_ENV=production
LOG_LEVEL=debug
DB_HOST=localhost
DB_USER=someuser
DB_PASSWORD=somepass
DB_PORT=3306
DB_CONNECTION_LIMIT=10
APP_VERSION=v1
CHS_SECURE_MODE=JWT // also can be APIKEY or NONE
CHS_API_KEY=my-specially-designed-secret-stored-here // required when set to APIKEY
CHS_SB_JWT_SECRETS={"YOUR-ORG-HERE":{"secret":"my-specially-designed-secret-stored-here"}} // required when set to JWT
Once you have the docker containter running the main application, you can test the application / database configuration by sending a GET request to the following url: localhost:8080/v1/ping
Content type
Image
Digest
sha256:789a1100e…
Size
26.8 MB
Last updated
over 3 years ago
docker pull servisbot/chat-history-server