Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.02 KB

setting-up-captain-rover.md

File metadata and controls

32 lines (22 loc) · 1.02 KB

Setting up Captain Rover

  1. Create an instance on a cloud service.

  2. 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.

  3. 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;
  1. 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
  1. 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
  1. As soon as Captain Rover is installed, you can reach it on http://[IP_OF_YOUR_SERVER]:3000 using the default password captain42.

Bibliographic References:

https://caprover.com/docs/get-started.html