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

Update run.sh

parent 31348ab6
...@@ -25,4 +25,21 @@ sudo apt-key fingerprint 0EBFCD88 ...@@ -25,4 +25,21 @@ sudo apt-key fingerprint 0EBFCD88
docker volume create portainer_data 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 -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 -p80:443 --name=mtproto-proxy --restart=always -e WORKERS=6 -e SECRET=00000000000000000000000000000000 -e TAG=f8aad9ddf19e4ab6f94c15950ce4bb1b telegrammessenger/proxy:latest docker run -d -p80:443 --name=mtproto-proxy --restart=always -e SECRET=00000000000000000000000000000000 -e TAG=f8aad9ddf19e4ab6f94c15950ce4bb1b telegrammessenger/proxy:latest
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install pm2 -g
git clone https://github.com/AhmadNemati/mtreset.git
cd mtreset
npm install
pm2 start app.js
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