Last active
October 17, 2018 16:07
-
-
Save 0D1NTR33/67ee064b5f64aa87c686a618a559b041 to your computer and use it in GitHub Desktop.
MTProto Docker Proxy Server
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
# INSTALL DOCKER | |
sudo apt update && sudo apt upgrade | |
sudo apt install linux-image-extra-$(uname -r) linux-image-extra-virtual | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
sudo apt update && apt-cache policy docker-engine | |
sudo apt install -y docker-engine | |
sudo usermod -aG docker $(whoami) | |
# INSTALL MTPROTO PROXY SERVER | |
docker run -d --net=host --name=mtproto-proxy --restart=always \ | |
-v proxy-config:/data telegrammessenger/proxy | |
# CHECK LOGS | |
docker logs mtproto-proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment