Created
October 3, 2019 21:16
-
-
Save s-h-a-d-o-w/981fa0a7ab9f0dd9159ff5941d903b30 to your computer and use it in GitHub Desktop.
Deploy CapRover
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
# This script might be outdated at some point - refer to the links to update it | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository | |
sudo apt-get update | |
sudo apt-get --yes install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get update | |
sudo apt-get --yes install docker-ce docker-ce-cli containerd.io | |
# https://caprover.com/docs/get-started.html#step-1-caprover-installation | |
docker run -p 80:80 -p 443:443 -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock -v /captain:/captain caprover/caprover |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment