Created
February 5, 2016 03:02
-
-
Save richardsonlima/3f0dc76f352267f0d0e7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
yum -y update | |
yum -y install docker docker-registry | |
systemctl enable docker.service | |
systemctl start docker.service | |
systemctl status docker.service | |
# Install docker-composer | |
yum install epel-release -y | |
yum install -y python-pip | |
pip install docker-compose | |
yum upgrade python* -y | |
yum install git -y | |
# Running VestaCP docker image (apache + nginx + php7 - Without FTP server ) | |
docker run -d \ | |
--restart=always \ | |
-p 2222:22 -p 80:80 -p 8083:8083 -p 3306:3306 -p 443:443 \ | |
-p 53:53 -p 54:54 \ | |
-v /var/vesta:/vesta \ | |
lagun4ik/vestacp:feature_php7 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use SFTP instead of FTP.
SSH and SFTP are available on the 2222 port