The API to communicate with the MySQL Database. Built on Express.
First you need NodeJS its the runtime.
Then go first into the api folder and run npm install it will install all the dependencies.
To customize it to yourself you got one main config.json.
This File is important for the TeamSpeak Bot and API.
The project was created for Docker. Use the environment variables to customize the Application for yourself. The variables are:
SQLhost
SQLuser
SQLpassword
SQLdatabasename
tokenrunouttime (30s, 30m, 30h, etc...)
runningPort
To run it for example: docker run -e SQLhost='192.168.2.4' -e SQLuser='username' -e SQLpassword='asdfasdf' -e SQLdatabasename='teamspeak' -e tokenrunouttime='30m' -e runningPort=5000 API
Content type
Image
Digest
Size
56.8 MB
Last updated
about 7 years ago
docker pull xaviius/api