Remote development environments on your infrastructure
Go to file
Cian Johnston 7fcf319e01
fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317)
- (breaking) Protects Logger and LogBodies fields of codersdk.Client with its mutex. This addresses a data race in cli/scaletest.
- Fillets the existing cli/createworkspaces unit test and moves the testing logic there into the tests under scaletest/createworkspaces.
- Adds testutil.RaceEnabled bool const and conditionaly skips previously-skipped tests under scaletest/ if the race detector is enabled. This is unfortunate and sad, but I would prefer to have these tests at least running without the race detector than not running at all.
- Adds IgnoreErrors option to fake in-memory agent loggers; having the agents fail the test immediately when they encounter any sort of error isn't really helpful.
2023-07-06 09:43:39 +01:00
.devcontainer chore: update to go 1.20 (#5968) 2023-02-02 12:36:27 -06:00
.github chore: pin terraform to 1.5.2 (#8322) 2023-07-05 12:59:58 -05:00
.vscode fix: removing prettier path in vscode config (#8255) 2023-06-29 09:00:51 -04:00
agent test(agent): use afero for motd tests to allow parallel execution (#8329) 2023-07-06 10:57:51 +03:00
buildinfo feat: remove server subcommand from slim binaries (#5747) 2023-01-17 16:58:00 +00:00
cli fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
cmd feat: add agent log streaming and follow provisioner format (#8170) 2023-06-28 10:54:13 +02:00
coderd fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
codersdk fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
cryptorand chore: use robust RNG in `cryptorand` (#8040) 2023-06-17 17:33:40 -05:00
docs docs: explain Template inheritance with Terraform modules (#8328) 2023-07-05 15:06:16 -04:00
dogfood chore(dogfood): add `libssl-dev` to image (#8312) 2023-07-05 00:24:32 -05:00
enterprise fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
examples fix: examples/lima: use new parameter name when creating template (#8272) 2023-06-30 12:45:47 +00:00
helm feat: helm rbac perms for deployments (#8233) 2023-06-27 15:14:39 -04:00
provisioner fix: report failed CompletedJob (#8318) 2023-07-06 07:26:33 +00:00
provisionerd fix: report failed CompletedJob (#8318) 2023-07-06 07:26:33 +00:00
provisionersdk feat: add "display_order" column to coder_parameter to keep parameters sorted in UI (#8227) 2023-06-30 12:41:55 +02:00
pty fix(pty): close output writer before reader on Windows to unblock close (#8299) 2023-07-05 15:25:07 +03:00
scaletest fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
scripts chore: pin terraform to 1.5.2 (#8322) 2023-07-05 12:59:58 -05:00
site feat: delay pending-in-queue banner (#8309) 2023-07-06 09:13:25 +02:00
tailnet fix: fix TestPGCoordinatorDual_Mainline flake (#8228) 2023-06-28 11:37:45 +04:00
testutil fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01: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 feat: add cohesive e2e tests for the web terminal, apps, and workspaces (#8140) 2023-06-22 00:21:40 +00:00
.golangci.yaml ci: improve caching (#7954) 2023-06-12 12:09:54 -05:00
.prettierignore feat: add cohesive e2e tests for the web terminal, apps, and workspaces (#8140) 2023-06-22 00:21:40 +00:00
.prettierignore.include feat: add cohesive e2e tests for the web terminal, apps, and workspaces (#8140) 2023-06-22 00:21:40 +00: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 fix(Makefile): add dbmock to swagger deps and improve performance (#8332) 2023-07-06 10:59:08 +03: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: update nix flake to include sqlc v1.18.0 (#8226) 2023-06-27 12:50:04 +02:00
flake.nix fix: add mockgen to nix env (#7682) 2023-05-25 12:44:32 -04:00
go.mod chore: bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 (#8300) 2023-07-03 13:00:37 -05:00
go.sum chore: bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 (#8300) 2023-07-03 13:00:37 -05: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.