Michael Smith 225aff06a7
chore: update all icons to use high-quality .svg files (#165)
## Description

This PR updates all of our current icons to use high-quality SVG files.
All icons use a perfect square aspect ratio to make sure they look good
on the registry.coder.com website, too.

This PR does **not** update our validation process to enforce the use of
.svg files. That may be something worth considering in the future, but
better to wait until we know for certain that we won't ever need other
image formats.

## Type of Change

- [x] Other

## Testing & Validation

- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun run fmt`)
- [x] Changes tested locally
2025-06-26 11:48:12 -04:00

2.1 KiB

display_name description icon maintainer_github verified tags
DigitalOcean Droplet (Linux) Provision DigitalOcean Droplets as Coder workspaces ../../../../.icons/digital-ocean.svg coder true
vm
linux
digitalocean

Remote Development on DigitalOcean Droplets

Provision DigitalOcean Droplets as Coder workspaces with this example template.

Prerequisites

To deploy workspaces as DigitalOcean Droplets, you'll need:

  • DigitalOcean personal access token (PAT)

  • DigitalOcean project ID (you can get your project information via the doctl CLI by running doctl projects list)

    • Remove the following sections from the main.tf file if you don't want to associate your workspaces with a project:

      • variable "project_uuid"
      • resource "digitalocean_project_resources" "project"
  • Optional: DigitalOcean SSH key ID (obtain via the doctl CLI by running doctl compute ssh-key list)

    • Note that this is only required for Fedora images to work.

Authentication

This template assumes that the Coder Provisioner is run in an environment that is authenticated with Digital Ocean.

Obtain a Digital Ocean Personal Access Token and set the DIGITALOCEAN_TOKEN environment variable to the access token. For other ways to authenticate consult the Terraform provider's docs.

Architecture

This template provisions the following resources:

  • DigitalOcean VM (ephemeral, deleted on stop)
  • Managed disk (persistent, mounted to /home/coder)

This means, when the workspace restarts, any tools or files outside of the home directory are not persisted. To pre-bake tools into the workspace (e.g. python3), modify the VM image, or use a startup script.

Note

This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.