Coder.com

C

Coder.com

Community server for Coder.com, an open-source platform for cloud development environments.

Join

button leads to discord invite

Hello can anyone help me im trying to make a button that opens an invite to a discord server (winforms C# .net framework)

Git commit still uses the email from my Coder account

Previous context: https://discord.com/channels/747933592273027093/971231372373033030/1302557051834339368 Hello! I have removed the env values concerning Git in my template: ```tf These environment variables allow you to make Git commits right away after creating a...

"main.tf line 167"

Good evening all! I'm completely new to Coder and I was following the quickstart instructions at https://coder.com/docs/tutorials/quickstart for a Windows 11 Home machine. I got both Coder and Docker installed on my machine, but when I try to Build a workspace I get this error:...

Single Coder server instance crashing with 20ish or so workspaces

We have been giving Coder a trial and have seen really great improvements to DX. But we did run into an issue with 20 or so workspaces running seemingly crashed the server instance. @Théo asked to upload some info we found regarding the issue. From working with our Platform Engineer, here's what we can share:...
No description

Code market place setup

Hello, I would like to setup code market place, does some how have a poc for the tls reverse proxy ? I'm not really sure how to start.. Thanks...

delete a workspace from cli fails when it was created on behalf of another user

To manage a workshop, I wrote some script to create and delete the proper number of users and workspaces. I had no issue to create the workspace on behalf of each user like this: ``` echo "Please input the number of users you want to create:" read number...

Multitenancy with Coder

Hi, I hope this question isn't as silly as my last one was. 😊 I read in the docs, that to allow for the usage of secrets other Terraform providers would need to access external APIs with, I'd need to start up the Coder pod (in k8s scenario), with the secrets already loaded as environment variables. (Do correct me if I am wrong!)...

different behaviour between desktop VSCode and code-server using gradio app

In the context of a workshop, I'll be using a piece of code involving a gradio app. The minimal code I have with the issue is the following: ``` import gradio as gr...
No description

Uniqueness in workspace naming

Are workspace names unique or rather do they enforce uniqueness? I guess I could test this. But, I figured I'd be lazy and just ask. 😛

Is there a way to have a number of coder_agents defined from a single resource block?

I'm looking to have something like the following so that I can define an arbitrary number of nodes and have all of them report their stats in the Coder page. When I do this, I get errors related to duplicate resource definitions. One such example is error: template import provision for start: duplicate metadata resource: libvirt_domain.node Full template's source can be found here. Is something like this possible, or am I going to have to figure out a different way to go about this? ```...

VSCode Desktop hangs after workspace update

Using VSCode on my Windows Desktop, conntected to Coder running on a Linux Docker. After a change in the Dockerfile of my rust environment in the Coder template, I am always unable to reconnect with VSC Desktop, after applying that update to the coresponding workspace. Failed to set up dynamic port forwarding connection over SSH to the VS Code Server. I don't really understand what this is supposed to tell me, since I didnt setup SSH with Coder, only HTTP(S). Is this a known issue or should i...

Coder on Windows

Running coder server on Windows results in Postgres errors: ``` 2024-11-09 20:58:52.203 [erro] coderd.dbrollup: failed to rollup data ... error= execute transaction: github.com/coder/coder/v2/coderd/database.(*sqlQuerier).runTx...

Bug with local exec in a module

Local exec works fine in terraform script in root, but once it is in any module, it is throwing weird errors. To reproduce this issue create following template: |main.tf |/module/main.tf ```...
No description

Unable to create/delete workspace -- text file busy

Whenever I try to create or delete a workspace in my self-hosted Coder, I get this error: ``` Initializing the backend... Initializing provider plugins......
No description

Save template with failing build

Hi, would it be possible to add some option of saving a template even though the build is failing? When working on some changes I want to be able to back them up to be able to work on them next day for example.

Build devcontainer from hostPath and not git repo - Coder in k8s

Hello, I supposed that this is highly unusual and it's not going to be possible but: we have a NFS storage mounted to every k8s node which is then passed as a hostPath to pods. Users have .devcontainer in .gitignore becuase everyone uses different config and devs don't want to use one, universal devcontainer per project. Is it possible to build and open devcontainer from a given path to envbuilder instead of a git repository?

Anyone can access cursor workspace connection URL

Hi Team, I was exploring coder and we are mostly done with setting up all our workflows on this. I was doing a security review of it, and realised anyone can access cursor workspaces URL in the form of cursor://coder.coder-remote/open?owner=nipun&workspace=brown-crow-66&url=https:/coder.example.com&token=$SSH_TOKEN. How do we think about securing this ? What are the in-general best practices in securing the access to your workspaces ? Thanks and looking forward...

Set zsh as default shell

I'm just getting started with coder.com - another team at my company set up an instance. I tried using chsh to switch my default shell to zsh, but new vscode sessions are still using bash. Restarting the workspace reset the shell to bash again. What's the recommended way to get my shell to zsh by default? Will I need to build my own workspace AMI or something? Thanks in advance!

Kasm template / module

Hi I was trying to the kasm module and desktop enterprise container within envbox template. I can get the kasmvnc screen to come up but it always says cannot connect to server. ...

Workspaces slower when accessed on home network?

I've been working with Coder for a couple of days now. It's running on a single board computer that's on my home network. It seems that workspaces I'm connected to while I'm within my home network react slower than if I'm connecting away frome home. Is there some caveat or other way of connecting that I should prefer if I'm actually at home? Maybe a configuration? These would be docker template based workspaces that I'm connecting to with VS Code Desktop.
Next