-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated Python Packages - Updated to Python 3.10.4 - Updated to Nginx 1.21.6, OpenSSL 3.0.2 - Updated memcached, rabbitmq and MySQL - Updated setup instruction - Updated help messages - Fixed some small bugs
- Loading branch information
1 parent
30d5724
commit 6eef65c
Showing
17 changed files
with
139 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,40 @@ | ||
# Little Sholex | ||
A Project Containing Telegram API bots and small web apps . | ||
# Included Projects | ||
- [Persian Meme](http://t.me/Persian_Meme_Bot) | ||
- [Persian Meme](https://t.me/Persian_Meme_Bot) | ||
# 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 | ||
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 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 | ||
Created by NitroZeus and RezFD | ||
- Telegram: [@SholexTeam](https://t.me/SholexTeam) | ||
- GitHub: [@RealNitroZeus](https://github.com/RealNitroZeus) - [@RezFD](https://github.com/RezFD) | ||
- Email: [NitroZeus](mailto:[email protected]) - [RezFD](mailto:[email protected]) | ||
|
||
SholexTeam ® |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.