Giter Site home page Giter Site logo

docker-compose-mtproxy's Introduction

docker-compose-mtproxy

With docker-compose file you can easy install telegram mtproto proxy and configure it.

Also build in watchdog check for update telegram-proxy server and if new version come - update it and restart without any action from you.

Docker

If you have one, read next, if not:

curl -sSL https://get.docker.com/ | sh

install docker-compose On Ubuntu/Debian:

sudo apt-get update

sudo apt-get install docker-compose

or

sudo apt-get -y install python-pip

sudo pip install docker-compose

Clone repository

git clone https://github.com/iShift/docker-compose-mtproxy.git

Edit config.env

In that file you can configure:

  • TAG Value, for promote channel
  • Preset SECRET, UP TO 16
  • Secret count for generate, UP TO 16
  • Workers count

Change proxy port

By default, proxy start at 443 port, if you want another - edit docker-compose.yml:

  • "443:443"

Start proxy

go to folder with that repository:

cd docker-compose-mtproxy

and run:

docker-compose up -d

Get logs and connections info

docker-compose logs

Stop proxy

From repository folder:

docker-compose down

Error ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

Use sudo with docker comands or add your account to docker group: sudo usermod -aG docker $(whoami)

Links

Telegram docker hub: https://hub.docker.com/r/telegrammessenger/proxy/

Source Code: https://github.com/TelegramMessenger/MTProxy

docker-compose-mtproxy's People

Contributors

ishift avatar easmith avatar kolahzary avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.