Github Page - PSMST
Before you use this image, you have to set up a MySQL or MariaDB database server that can connect from outside of the server.
Using this command to create your container. Remember to type the data in the command to tell the bot how can it connect to your database.
sudo docker create --name [container-name] --restart=always -e DBHOST=[hostname] -e DBUSER=[username] -e DBPASSWORD=[password] -e DBNAME=[Database name] -e TGTOKEN=[Telegram bot Token] kingsfourze/psmst:latest && sudo docker start [container-name]You are required to input all the variables, otherwise, the container will find errors and shutdown.
DBHOST: Database Server IP / Hostname, default localhost
DBUSER: Database Username, default root
DBPASSWORD: Database Password, default PSMSTPassword
DBNAME: Database name, default PSMST, The program will automatically create a database if it didn't exist.
TGTOKEN: Telegram bot Token, default 321:123abc
Content type
Image
Digest
Size
27.9 MB
Last updated
over 5 years ago
docker pull kingsfourze/psmst