Skip to content

A project containing some web apps and Telegram API bots .

License

Notifications You must be signed in to change notification settings

Mandofskii/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 docker 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: "Contact Admin" archive channel ID
    • persianmeme_reports: Meme Report archive channel ID
    • 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

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%