Remote development environments on your infrastructure
Go to file
Spike Curtis dc3d39baf8
fix: agent disconnects from coordinator (#7430)
* work around websocket deadline bug

Signed-off-by: Spike Curtis <spike@coder.com>

* Use test context to hold websocket open

Signed-off-by: Spike Curtis <spike@coder.com>

* Fix race creating test websocket

Signed-off-by: Spike Curtis <spike@coder.com>

* set write deadline to time.Time zero

Signed-off-by: Spike Curtis <spike@coder.com>

---------

Signed-off-by: Spike Curtis <spike@coder.com>
2023-05-05 20:29:03 +04:00
.devcontainer chore: update to go 1.20 (#5968) 2023-02-02 12:36:27 -06:00
.github chore: fix ci.yaml deploy step for other regions 2 (#7368) 2023-05-02 01:34:21 +00:00
.vscode feat: add inactivity cleanup and failure cleanup configuration fields to Template Schedule Form (#7402) 2023-05-05 08:19:26 -07:00
agent fix: pty.Start respects context on Windows too (#7373) 2023-05-03 11:43:05 +04:00
buildinfo feat: remove server subcommand from slim binaries (#5747) 2023-01-17 16:58:00 +00:00
cli feat(cli): add trafficgen command for load testing (#7307) 2023-05-05 10:34:58 +01:00
cmd feat: convert entire CLI to clibase (#6491) 2023-03-23 17:42:20 -05:00
coderd feat: add inactivity cleanup and failure cleanup configuration fields to Template Schedule Form (#7402) 2023-05-05 08:19:26 -07:00
codersdk feat: add inactivity cleanup and failure cleanup configuration fields to Template Schedule Form (#7402) 2023-05-05 08:19:26 -07:00
cryptorand chore: Update pion/udp and improve parallel/non-parallel tests (#7164) 2023-04-17 20:23:10 +03:00
docs feat: add inactivity cleanup and failure cleanup configuration fields to Template Schedule Form (#7402) 2023-05-05 08:19:26 -07:00
dogfood chore(dogfood): remove unnecessary docker host replace (#7269) 2023-04-25 04:58:09 +00:00
enterprise feat: add inactivity cleanup and failure cleanup configuration fields to Template Schedule Form (#7402) 2023-05-05 08:19:26 -07:00
examples fix: update envbox template to use hostname (#7417) 2023-05-04 12:21:20 -05:00
helm chore(ci): update golden files (#7431) 2023-05-05 09:05:45 +00:00
provisioner feat: unified tracing between coderd<->provisionerd (#7370) 2023-05-03 23:02:35 +00:00
provisionerd feat: unified tracing between coderd<->provisionerd (#7370) 2023-05-03 23:02:35 +00:00
provisionersdk feat: unified tracing between coderd<->provisionerd (#7370) 2023-05-03 23:02:35 +00:00
pty fix: pty.Start respects context on Windows too (#7373) 2023-05-03 11:43:05 +04:00
scaletest feat(cli): add trafficgen command for load testing (#7307) 2023-05-05 10:34:58 +01:00
scripts chore: bump terraform from 1.3.4-r3 to r4 in image (#7393) 2023-05-03 18:21:11 +00:00
site feat: add inactivity cleanup and failure cleanup configuration fields to Template Schedule Form (#7402) 2023-05-05 08:19:26 -07:00
tailnet fix: agent disconnects from coordinator (#7430) 2023-05-05 20:29:03 +04:00
testutil chore: skip timing-sensistive AgentMetadata test in the standard suite (#7237) 2023-05-02 10:41:41 +00: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 ci: Print go test stats (#6855) 2023-04-03 11:07:25 +00:00
.golangci.yaml feat: add YAML support to server (#6934) 2023-04-07 22:58:21 +00:00
.prettierignore ci: Print go test stats (#6855) 2023-04-03 11:07:25 +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: add workspaceProxy to helm chart (#7398) 2023-05-05 07:07:49 +10:00
README.md chore: fix one broken link (#7143) 2023-04-14 18:28:58 +00: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
docker-compose.yaml fix: use `CODER_HTTP_ADDRESS` in `docker-compose.yml` (#7185) 2023-04-18 11:44:41 -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: unified tracing between coderd<->provisionerd (#7370) 2023-05-03 23:02:35 +00:00
go.sum feat: unified tracing between coderd<->provisionerd (#7370) 2023-05-03 23:02:35 +00:00
install.sh fix: very small typo (#6877) 2023-03-30 07:56: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 install guides 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.