Sign inSign up

kingsfourze/psmst

By kingsfourze

•Updated over 5 years ago

Phone SMS Transfer to Telegram

Image
0

456

kingsfourze/psmst repository overview

⁠Phone SMS Transfer to Telegram

⁠Github Page

Github Page - PSMST⁠

⁠How to use

Before you use this image, you have to set up a MySQL or MariaDB database server that can connect from outside of the server.

⁠Create A Container

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]
⁠Environment Variables

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

Tag summary

Content type

Image

Digest

Size

27.9 MB

Last updated

over 5 years ago

docker pull kingsfourze/psmst