Overview of Our Set Up Steps
- Remote: Create an Ubuntu Droplet through the DigitalOcean UI.
- Local: Install GoCD Server and Agent on our local machine.
- Local: Set up GoCD to SSH into the Droplet and run dockersamples/static-site .
Remote: Create an Ubuntu Droplet through the DigitalOcean UI.
- Ubuntu 18 LTS
- Standard at $5/month
- Toronto
-
SSH keys (add the key that the
go
user will use).
Local: Install GoCD Server and Agent on Ubuntu 18 LTS
Local: Set up GoCD to SSH into the Droplet and run dockersamples/static-site .
-
The GoCD user is
go
. That user must have an SSH key for DigitalOcean.
Local GoCD ---> SSH ---> Remote Digital Ocean Droplet ---> docker run
Other things we've done since then:
Build GoCD Server from Docker with
docker build github.com/gocd/docker-gocd-server -t gocd/docker-gocd-server
,
find it with
docker images
and then run it with
docker run <the-id>
. See
docker
build
for details.