Skip to content

A project containing some web apps and Telegram API bots .

License

Notifications You must be signed in to change notification settings

RahRow/LilSholex

 
 

Repository files navigation

Little Sholex

A Project Containing Telegram API bots and small web apps .

Included Projects

Usage

  1. Install Docker
  2. Create a swarm
  3. Create these swarm secrets :
    • persianmeme_token : Persian Meme Telegram API token
    • persianmeme_channel : Persian Meme voting channel ID
    • secret_key : Django secret key
    • db_password : Database password
    • persianmeme_anim : Persian Meme help GIF file ID
    • persianmeme_logs : Persian Meme logging channel ID
    • persianmeme_messages : Use anything not complete yet :)
    • ssl_certificate : SSL certificate
    • ssl_key : SSL private key
    • dhparam : SSL dhparam
    • domain : Your Domain
    • persianmeme_help_messages : A JSON file containing help messages and animations
  4. Replace {persianmeme_token} & {domain} inside conf/nginx.conf with your domain and bot token
  5. docker stack deploy -c docker-compose.yml {stack name}

Swarm health checks are included and containers will get replaced after running into a problem !

If you have any questions about docker swarm or secrets checkout Docker official documentation about Docker swarm secrets : https://docs.docker.com/engine/swarm/secrets/

  • In order to update your stack use this command :

    docker stack deploy -c docker-compose.yml {stack name}

Developers

Created by NitroZeus and RezFD

Telegram : https://t.me/SholexTeam
GitLab : https://gitlab.com/nitrozeus
GitLab : https://gitlab.com/RezFD

SholexTeam ®

About

A project containing some web apps and Telegram API bots .

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Dockerfile 0.3%