|
1 | 1 | # docker-compose-mtproxy |
2 | | -docker-compose file for telegram mtproto proxy |
| 2 | +With docker-compose file you can easy install telegram mtproto proxy and configure it. |
| 3 | + |
| 4 | +# Docker |
| 5 | +If you have one, read next, if not: |
| 6 | +`curl -sSL https://get.docker.com/ | sh` |
| 7 | + |
| 8 | +install docker-compose |
| 9 | +On Ubuntu/Debian: |
| 10 | +`sudo apt-get update && sudo apt-get install docker-compose` |
| 11 | + |
| 12 | +# Clone repository |
| 13 | +`git clone https://github.com/iShift/docker-compose-mtproxy.git` |
| 14 | + |
| 15 | +# Edit config.env |
| 16 | +In that file you can configure: |
| 17 | +- TAG Value, for promote channel |
| 18 | +- Preset SECRET, UP TO 16 |
| 19 | +- Secret count for generate, UP TO 16 |
| 20 | +- Workers count |
| 21 | + |
| 22 | +# Change proxy port |
| 23 | +By default, proxy start at 443 port, if you want another - edit **docker-compose.yml**: |
| 24 | +- "443:**443**" |
| 25 | + |
| 26 | +# Start proxy |
| 27 | +go to folder with that repository: |
| 28 | +`cd docker-compose-mtproxy` |
| 29 | + |
| 30 | +and run: |
| 31 | +`docker-compose up -d` |
| 32 | + |
| 33 | +# Stop proxy |
| 34 | +From repository folder: |
| 35 | +`docker-compose down` |
0 commit comments