Files
coder/examples/templates/do-linux/README.md
T
Spike Curtis 3f3ecbf8b3 feat: Authenticate Digital Ocean via environment variable (#2051)
* Digital Ocean example uses environment variable auth

Signed-off-by: Spike Curtis <spike@coder.com>
2022-06-06 07:05:16 -05:00

1.0 KiB

name, description, tags
name description tags
Develop in Linux on a Digital Ocean Droplet Get started with Linux development on a Digital Ocean Droplet.
cloud
digitalocean

do-linux

This is an example for deploying workspaces as Digital Ocean Droplets.

Requirements

  • Digital Ocean Project ID (e.g. doctl projects list)
    • Remove variable "step2_do_project_id" and resource "digitalocean_project_resources" "project" if you don't want project association.
  • (Optional) Digital Ocean SSH key ID (e.g. doctl compute ssh-key list)
    • Only required for Fedora images to work.

Authentication

This template assumes that coderd is run in an environment that is authenticated with Digital Ocean. Obtain a Digital Ocean Personal Access Token and set the environment variable DIGITALOCEAN_TOKEN to the access token before starting coderd. For other ways to authenticate consult the Terraform docs.