-
Create an instance on a cloud service.
-
Enable access to the following ports to that instance (on AWS you do that on the security groups): 80,443,3000,996,7946,4789,2377.
-
Get into the instance and run the following command to enable firewall:
ufw allow 80,443,3000,996,7946,4789,2377/tcp; ufw allow 7946,4789,2377/udp;
- Use the following commands to install docker:
sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
- Install Captain Rover with the following commands:
docker run -p 80:80 -p 443:443 -p 3000:3000 -e ACCEPTED_TERMS=true -v /var/run/docker.sock:/var/run/docker.sock -v /captain:/captain caprover/caprover
- As soon as Captain Rover is installed, you can reach it on
http://[IP_OF_YOUR_SERVER]:3000
using the default passwordcaptain42
.