Remote development environments on your infrastructure
Go to file
Cian Johnston 9b2abf0952
chore(helm): add unit tests for helm chart (#6557)
This PR adds a minimum set of Helm tests for the Helm chart.
It's heavily based on the approach in [1], but uses a golden-files-based approach instead.
It also runs helm template directly instead of importing the entire Kubernetes API.
Golden files can be updated by running go test ./helm/tests -update or by running make update-golden-files.

[1] https://github.com/coder/enterprise-helm

Fixes #6552
2023-03-13 13:48:44 +00:00
.devcontainer chore: update to go 1.20 (#5968) 2023-02-02 12:36:27 -06:00
.github fix: rm pull request template (#6533) 2023-03-10 03:53:48 +10:00
.vscode feat: add 'Show all tokens' toggle for owners (#6325) 2023-03-01 08:35:55 -08:00
agent feat: Ignore agent pprof port in listening ports (#6515) 2023-03-09 10:53:00 -06:00
buildinfo feat: remove server subcommand from slim binaries (#5747) 2023-01-17 16:58:00 +00:00
cli chore: early merge clibase foundations (#6542) 2023-03-10 13:41:32 -06:00
cmd feat: add support for `coder_git_auth` data source (#6334) 2023-02-27 10:18:19 -06:00
coderd fix(coderd): Detect agent disconnect via inactivity (#6528) 2023-03-13 11:54:53 +02:00
codersdk feat: Allow changing the 'group' oidc claim field (#6546) 2023-03-09 23:31:38 -06:00
cryptorand chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
docs chore: Ensure all audit types in ResourceTable match APGL (#6563) 2023-03-10 13:59:42 -06:00
dogfood chore: update template examples and docs to install code-server under /tmp (#6138) 2023-02-10 13:36:46 +00:00
enterprise chore: Ensure all audit types in ResourceTable match APGL (#6563) 2023-03-10 13:59:42 -06:00
examples fix: minimal AWS policy for templates (#6419) 2023-03-02 12:21:02 -06:00
helm chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
provisioner feat: mark coder_parameter as "required" (#6433) 2023-03-07 16:38:31 +01:00
provisionerd feat: propagate job error codes (#6507) 2023-03-08 16:32:00 +01:00
provisionersdk fix: allow the `BINARY_DIR` to be configured in the agent script (#6567) 2023-03-11 19:39:40 +00:00
pty feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
scaletest chore: resolve race when running load tests with logs (#6523) 2023-03-08 21:12:20 -06:00
scripts chore: Remove some of the external enum comments in typescript (#6530) 2023-03-09 10:46:23 -06:00
site chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
tailnet chore: copy forced derp websockets to fix flake (#6475) 2023-03-06 21:29:41 -06:00
testutil feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
.editorconfig chore: Improve project-wide prettier formatting and ignored files (#5505) 2023-01-03 15:11:13 +02:00
.gitattributes chore: mark apidoc files as linguist-generated (#5713) 2023-01-13 18:01:40 +01:00
.gitignore chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
.golangci.yaml feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
.prettierignore chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
.prettierignore.include chore: Improve project-wide prettier formatting and ignored files (#5505) 2023-01-03 15:11:13 +02:00
.prettierrc.yaml chore: Improve project-wide prettier formatting and ignored files (#5505) 2023-01-03 15:11:13 +02:00
.swaggo docs: update swaggo/swag v1.8.9 (#5590) 2023-01-10 15:47:08 +01:00
LICENSE chore: Add license (#841) 2022-04-04 11:55:06 -05:00
LICENSE.enterprise Add Enterprise License text (#3932) 2022-09-07 16:55:57 +00:00
Makefile chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
README.md Revert "docs: Change console to shell and remove unused elements (#5960)" (#5964) 2023-02-01 17:05:45 -03:00
SECURITY.md docs: create a SECURITY.md file (#5875) 2023-01-26 14:13:36 -06:00
coder.env feat: Add tunnel by default (#4399) 2022-10-07 08:05:56 -05:00
coder.service Fix kill mode stopping the built-in PostgreSQL 2022-10-17 23:50:29 +00:00
docker-compose.yaml feat: Add tunnel by default (#4399) 2022-10-07 08:05:56 -05:00
flake.lock chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
flake.nix chore(helm): add unit tests for helm chart (#6557) 2023-03-13 13:48:44 +00:00
go.mod feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
go.sum feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
install.sh fix: use `-U` when installing with rpm (#6349) 2023-02-26 18:11:23 +00:00
preinstall.sh fix: Refactor preinstall script to use useradd if adduser is not available (#2858) 2022-07-08 16:09:19 -05:00
release.key feat: PGP sign the checksum file in releases (#5757) 2023-01-18 04:45:27 +10:00
shell.nix chore: Add nix shell for simple development setup (#3399) 2022-08-08 15:49:12 +00:00

README.md

Self-Hosted Remote Development Environments



Quickstart | Docs | Why Coder | Enterprise

discord codecov release godoc Go Report Card license

Coder enables organizations to set up development environments in the cloud. Environments are defined with Terraform, connected through a secure high-speed Wireguard® tunnel, and are automatically shut down when not in use to save on costs. Coder gives engineering teams the flexibility to use the cloud for workloads that are most beneficial to them.

  • Define development environments in Terraform
    • EC2 VMs, Kubernetes Pods, Docker Containers, etc.
  • Automatically shutdown idle resources to save on costs
  • Onboard developers in seconds instead of days

Quickstart

The most convenient way to try Coder is to install it on your local machine and experiment with provisioning development environments using Docker (works on Linux, macOS, and Windows).

# First, install Coder
curl -L https://coder.com/install.sh | sh

# Start the Coder server (caches data in ~/.cache/coder)
coder server

# Navigate to http://localhost:3000 to create your initial user
# Create a Docker template, and provision a workspace

Install

The easiest way to install Coder is to use our install script for Linux and macOS. For Windows, use the latest ..._installer.exe file from GitHub Releases.

curl -L https://coder.com/install.sh | sh

You can run the install script with --dry-run to see the commands that will be used to install without executing them. You can modify the installation process by including flags. Run the install script with --help for reference.

See install for additional methods.

Once installed, you can start a production deployment1 with a single command:

# Automatically sets up an external access URL on *.try.coder.app
coder server

# Requires a PostgreSQL instance (version 13 or higher) and external access URL
coder server --postgres-url <url> --access-url <url>

1 For production deployments, set up an external PostgreSQL instance for reliability.

Use coder --help to get a list of flags and environment variables. Use our quickstart guide for a full walkthrough.

Documentation

Browse our docs here or visit a specific section below:

  • Templates: Templates are written in Terraform and describe the infrastructure for workspaces
  • Workspaces: Workspaces contain the IDEs, dependencies, and configuration information needed for software development
  • IDEs: Connect your existing editor to a workspace
  • Administration: Learn how to operate Coder
  • Enterprise: Learn about our paid features built for large teams

Community and Support

Feel free to open an issue if you have questions, run into bugs, or have a feature request.

Join our Discord to provide feedback on in-progress features, and chat with the community using Coder!

Contributing

Contributions are welcome! Read the contributing docs to get started.

Find our list of contributors here.

We are always working on new integrations. Feel free to open an issue to request an integration. Contributions are welcome in any official or community repositories.

Official

Community

  • Provision Coder with Terraform: Provision Coder on Google GKE, Azure AKS, AWS EKS, DigitalOcean DOKS, IBMCloud K8s, OVHCloud K8s, and Scaleway K8s Kapsule with Terraform
  • Coder GitHub Action: A GitHub Action that updates Coder templates
  • Various Templates: Hetzner Cloud, Docker in Docker, and other templates the community has built.