Unverified Commit b1ca68a5 authored by Ahmad Nemati's avatar Ahmad Nemati Committed by GitHub

Update run.sh

parent 539c6109
#!/bin/bash
sudo apt-get remove docker docker-engine docker.io
sudo apt-get -y update
sudo apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get -y update
sudo apt-get -y install docker-ce
docker volume create portainer_data
docker run -d -p 9000:9000 --name=port --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
docker run -d -p443:443 --name=mtproto-proxy --restart=always -e SECRET=16b921897708fd86d8d25a6018836379 -e TAG=a1b4e1abeb89ff73685d9b8dbc36e646 telegrammessenger/proxy:latest
docker run -d -p443:443 --name=mtproto-proxy --restart=always -e TAG=0f533a621d7df9446288ce3a415c4c6d -e SECRET=00000000000000000000000000000000 telegrammessenger/proxy:latest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment