Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt2gAdv
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mt2gAdv
Commits
31348ab6
Unverified
Commit
31348ab6
authored
Feb 04, 2019
by
Ahmad Nemati
Committed by
GitHub
Feb 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create run.sh
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
run.sh
run.sh
+28
-0
No files found.
run.sh
0 → 100644
View file @
31348ab6
#!/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
-p80
:443
--name
=
mtproto-proxy
--restart
=
always
-e
WORKERS
=
6
-e
SECRET
=
00000000000000000000000000000000
-e
TAG
=
f8aad9ddf19e4ab6f94c15950ce4bb1b telegrammessenger/proxy:latest
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment