Coder.com

C

Coder.com

Join the community to ask questions about Coder.com and get answers from other members.

Join

performance local hosted version

At our office we are trying to get a local server setup for a a couple of devs to use. We are however having a lot of performance issues when we are trying to run our development environment. When using npm run dev our performance is not acceptable. We are suspecting it might be because of the cpu's single thread performance. Does coder have any recommended CPU's or other hardware requirements to run the workloads smoothly? Thank you in advance....
Solution:
It's only specifically an issue when running npm run dev. After further investigation we saw our CPU is bad at single threaded workloads which the npm run dev is. When testing it on a system with a different cpu with higher single thread performance

if there a way to limit resource usage for each workspace?

for example, workspace can only use 10 cores and 16 GB max, etc.

can't find "write coder on coder" template

hi, i just found about coder and super excited to try it out. i want to use the coding agent feature. i am following the tutorial on https://coder.com/docs/ai-coder/create-template but i can't see the "write coder on coder" template in my local setup to duplicate. what am i missing?...
No description

Help deploying Coder in offline/internal network with external domain & SSL (behind uni IT proxy)

Hi yall, I'm trying to deploy Coder in a university lab environment for my prof, but I'm running into challenges due to network restrictions and proxy handling by the university's IT department. ⚙️ Goal...

newbie question :)

hello all! so i setup a self-hosted instance of coder. I am using the out of the box docker devcontainer workspace template. I chose the custom url which points to my personal github repository. I followed the guide where I needed to create a github oauth app. I got the callback url, client secret id and client id setup as env vars to the systemd service running coder. how do I provide my git credentials to the workspace? however, when i launct he worksspace i get this error...

How to use External Auth to pull down Github NPM packages?

HI! I'm experimenting with Coder right now how it hooks up with Github. I've got it connected into Github for user-authentication, as well as configured for external auth. We can spin up a workspace that checks out code using the github_token returned by the auth, and we've verified that the token then has access to other repositories that the user has access to. So far so good. Where we're struggling now is using the same token to access Github's package repository (NPM). Here's what we've done so far: 1. Made sure the Github App has read:packages permissions....

how do I get in touch with enterprise sales? email doesn't seem to work.

I am trying to buy an enterprise license but can't seem to reach anyone.

How to limit resource use for a container

like the title said, I run coder with
coder server
coder server
here is my template structure as default:...
No description

Bloomberg bindings

I have a bloomberg terminal that offers an api (https://data.bloomberglp.com/professional/sites/10/2017/03/BLPAPI-Core-Developer-Guide.pdf) with C++, JAVA, C# bindings - https://www.bloomberg.com/professional/support/api-library/ The typical pattern is you log into your terminal (using biometrics) and when your session is active you can use the API. This is a good way to pilot / test things before going to prod.
Any ideas on how I could do this using coder? Is there a way that I can use some proxy/portforwarding thing to the connect my vscode workspace back to my own laptop running the bloomberg terminal?...

github oauth always throwing error when used with organisation option enabled

Hey all, need a bit of help here because I'm out of all options now. I'm trying to set up GitHub for user authentication following this guide: https://coder.com/docs/admin/users/github-auth What I did was:...

Stop workspace from API?

Hi, documentation says it's possible, but I couldn't figure out which route / method I should use to achieve that? I'd also like to be able to start the workspace when it's stopped thanks...

envbuilder clone a private git repository?

- I've added my Coder SSH public key to github. - I'm using a template based on the aws-devcontainer template. - I set repo_url to [email protected]:foo/bar Envbuilder fails to authenticate:...
Solution:
Just to follow up on this for anyone else searching here for a solution, you can set the following in your Terraform locals:
envbuilder_env = {
"ENVBUILDER_GIT_SSH_PRIVATE_KEY_BASE64": base64encode(data.coder_workspace_owner.me.ssh_private_key),
envbuilder_env = {
"ENVBUILDER_GIT_SSH_PRIVATE_KEY_BASE64": base64encode(data.coder_workspace_owner.me.ssh_private_key),
...

Headless User: is the email field required to be valid?

Hi all, Quick question, I am looking to setup a CI user and I would just like to know if the email associated with a headless user is required to be a valid email? Is it needed for any recovery mechanism? Thanks!...

Is there any way to persist files when restarting a coder workspace?

I’m using coder_agent, and in the startup_script, I have logic that clones a Git repo and runs yarn install. The problem is that the yarn install step takes about 10 minutes, which significantly slows down workspace startup. However, I only really need this to run the first time the workspace is created — not every time it’s restarted. I tried adding a check like this:...

persist ubuntu updates and added packages

How can i keep the updates ive applied and packages I've added in the included terminal. after reboot all the changes i've made, except the files in the /home/coder directory are reverted

EKS/ECR envbuilder layer cache

I'm trying to setup devcontainer layer caching. I started out with the aws-devcontainer starter template, and I have a repo in ECR which I have filled in to the "cache_repo" variable. But when I start the workspace, I see the following:
Failed to find cached image in repository "[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/envbuilder-cache". It will be rebuilt in the next apply. Error: failed to fetch the envbuilder binary from the builder image: check remote image: check remote image: GET https://[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/v2/custom-envbuilder/manifests/latest: unexpected status code 401 Unauthorized: Not Authorized
Failed to find cached image in repository "[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/envbuilder-cache". It will be rebuilt in the next apply. Error: failed to fetch the envbuilder binary from the builder image: check remote image: check remote image: GET https://[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/v2/custom-envbuilder/manifests/latest: unexpected status code 401 Unauthorized: Not Authorized
...

code-server as a frontend for JupyterHub

Hi there! Does anyone have experience with hosting code-server directly as the primary frontend of a container running on a K8s JupyterHub? I'm successfully capable of running it from an initialized container that runs JupyterLab, but I would like to completely swap out JupyterLab in favor of code-server. That way. you could manage a multi-tenancy code-server environment that leverages JupyterHub's admin....

Template limits

Is there anyway to set limit for a user or a template for using ram, memory , etc?
Solution:
you can only set memory limits and limit containers to specific cpu cores with docker, if you need more precise limits you'll need to move to another runtime e.g kubernetes see https://discord.com/channels/747933592273027093/1336645061030449163...

Waiting for IU backend

I installed the Coder plugin on Jetbrain's Gateway and when I connect to a workspace it downloads the latest version of IntelliJ Ultimate but then hangs on Waiting for IU-243.21565.193 backend My coder server is running on Ubuntu server 22 in a Docker setup I am trying to connect from Windows 11...

IntelliJ Community

Does coder support the community version or only the Ultimate version?