Setup caprover server with digital ocean
Create a droplet #
https://marketplace.digitalocean.com/apps/caprover?action=deploy&refcode=6410aa23d3f3
Setup dns #
- mydomain.net -> IP
- *.server.mydomain.net -> IP
- www.mydomain.net -> IP
Setup caprover #
npm i caprover
npx caprover serversetup
? have you already started CapRover container on your server? Yes
? IP address of your server: 111.111.111.11
? CapRover server root domain: server.mydomain.net
? new CapRover password (min 8 characters): [hidden]
? enter new CapRover password again: [hidden]
? "valid" email address to get certificate and enable HTTPS: hello@mydomain.net
? CapRover machine name, with whom the login credentials are stored locally: cap1
Login caprover #
Visit: caprover.server.mydomain.net
Create a database #
Visit https://captain.server.unrec.de/#/apps/oneclick/ and search for postgres
Give an app name (database) and a choose a version (13 is the latest at this time).
Deplyed and available as srv-captain--unrec-db:5432
Add a postgres web admin. Search for "pgweb"