mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
* Digital Ocean example uses environment variable auth Signed-off-by: Spike Curtis <spike@coder.com>
name, description, tags
| name | description | tags | ||
|---|---|---|---|---|
| Develop in Linux on a Digital Ocean Droplet | Get started with Linux development on a Digital Ocean Droplet. |
|
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"andresource "digitalocean_project_resources" "project"if you don't want project association.
- Remove
- (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.