Coder.com

C

Coder.com

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

Join

No port-forwarding in the web UI

(from @DuckyDev in #general)

Is this an anti-pattern for coder?

I’m exploring Coder for my team members and I’m wondering if creating a docker template that install Postgres and Redis would be an anti-pattern mainly because of the infrastructures required to run the services.

Use custom install Script as Terraform Resource

Hi, I want to create my own template containing some custom installs. The base template is Docker Container and I want to extend it. Now I am unsure if I should use the Dockerfile to do the installations or if I should use a Terraform Resource. I want to place the instructions in a .sh file executed as the current workspace user with the home dir as the workdir.

deploying void in coder-server

I just found this new vscode fork called void and wondering if we can deploy void as code editor using code server

aws_ecr_repository auth error on EC2 envbuilder

``` resource "aws_ecr_repository" "cache_repo" { name = "coder-${data.coder_workspace.me.id}-${data.coder_workspace.me.name}-cache" tags = { Coder_Provisioned = "true"...

AWS EC2 (Devcontainer) fails with custom repo

Replacing the starting repo withhttps://github.com/KyleDavisDev-Preply/build-tools/commit/0ada6f0b3c28ad46fb570d3394d551eda34641b8 causes the coder agent to fail. The logs freeze at step 2 taking a snapshot... then everything becomes unresponsive till it becomes unhealthy....

Cant write in code-server

Hey, I recently updated to ipadOS 18 and now I can write for about around 30 seconds but after that it freezes (I cant write anything else or move the cursor using the keyboard. Clicking to set the cursor works. I can open a new tab and I can write there. Only in code-server).

what url callback in external auth ?

i already create my template with external auth with self-hosted gitea to clone my code , and i create clinet_id with callback url with /login/oauth/authorize , after i login in gitea url it still on the same page and my template still disabled i dont have any idea with callback is ? should i need to redirect to my workspace url or something else ?...

AWS ECS?

Hi, is it possible to run coder's control plane in ECS, and have it provision using Ec2?

"workspace_owner_oidc_access_token"

I found a couple issues mentioning "workspace_owner_oidc_access_token" but not much in the docs. Is that still working? I am trying to setup some templates with azure resources in aks etc. and there is no external auth for azure except the azure devops one. Is is possible to do similiar things with an OIDC token. also from the example below are there anymore examples of using the extra property? I am wondering if I can use something like to get specific OIDC fields from the user or something. ...

Github Single Sign On Unauthorized

Getting unauthorized after returning from github. I click the button to setup login with github then get forward to github. This works. But after github sends be back I get unauthorized from coder....
No description

Run coder using docker-compose with mariadb as database

I would like to run a coder instance with mariadb as database instead of postgresql, due to reliability reasons. From my experience with hosting docker instances and maintaining them, i notice that my postgresql database instances are more prone to crashes causing unrecoverable dataloss. Is there a guide available or even the possibility to host coder without postgres?...

Windows terminal: arrow keys are not sent.

This is not specifically a problem of Coder but probably best to ask and document it here. On windows terminal, I can ssh into my Coder instance and all keys except arrow keys are correctly sent into Coder. Arrow keys do work in the regular windows terminal on powershell. I do not see a keybinding that intercepts the arrow keys. Any suggestions?...
Solution:
please update, your version is old (March 23, 2023). this behavior was fixed in April of this year...

Archive too big. Must be <= 1048576 bytes

Dear Develop team, When I push template. I have issue "Archive too big. Must be <= 1048576 bytes", and I want to fixed it. Could you help me? Best regards, Ben.Ng...
Solution:
I agree, but it's currently not possible to modify that limit and generally not wise because it goes beyond what the in-database storage was intended for and will likely hinder performance

Workspace error: curl: (60) SSL certificate problem: self-signed certificate in certificate chain

I added the self signed cert to the values.yaml to deploy coder, then i modified the kubernetes template to work with openshift. Everything seems to work fine except that the workspace pod is not able to verify the self signed certificate of the coder api. In the workspace pod i get the error: + curl -fsSL --compressed https://coder.my.domain/bin/coder-linux-amd64 -o coder curl: (60) SSL certificate problem: self-signed certificate in certificate chain ...
Solution:
Solved it by adding the certficate in the BuildConfig:

[Beginner] set up Clickhouse container

Hi, I'm relatively new with coder, I'm trying to set up a workspace with two containers: one with my own image where I keep all my development tools, and one with a DB server. The basic idea is to mimic a work environment, but instead of a remote DB I have it all on localhost. My first attempt was with Postgres, and it was quite smooth: I just declared a container in the TF template, used the official PG docker image, declared a volume claim, and set some env variables. Worked like a charm, if I run netstat -nlp I can see port 5432 as usual and I can easily connect to it using psql. However I didn't have as much luck with Clickhouse, which is another DB I use for OLAP and stuff....

Error: Error pinging Docker server: Cannot connect to the Docker daemon at unix:///var/run/docker.so

Hello, thank you for create answer opensource, i already host coder and coder-server in my k8s by Helm , i try to create template from document with start template docker (https://github.com/coder/coder/blob/main/examples/templates/docker/main.tf) after i change terraform and build my template i get this error Error: Error pinging Docker server: Cannot connect to the Docker daemon at unix:///var/run/docker.so i am terraform and k8s newbie, how to check and fix this error , i need to run Angular project on Coder, Thankyou...

Can't serve code-server under a subpath

New at networking I have a setup with 3 VMs such as shown in the picture: 1 load balancer with caddy that routes to: 1 fastapi server at: "mydomain.cloud" code-server at: "mydomain.cloud/dev"...
No description

How to stop Jupyter Kernels from dying when sleeping/disconnecting laptop?

Hi, This has become a fairly annoying problem - sometimes I just need to move my laptop, and if I have to sleep it, my Jupyter kernel will just stop and I'll have to rerun (expensive data processing code). Sure I can remember to pickle the data, but it seems like there should be a way to have the disconnection not kill the process and allow a restart. We're using Coder on a remote machine, that I have limited access to, so any solution needs to be explainable in a way I can ask my admin to set up. Thanks in advance,...

coder not respecting ENV PROXY var when creating openshift template

When executing: coder template push kubernetes -d . within the POD The env proxy var is not respected, causing the import to fail. I get: ==> ⧗ Detecting persistent resources...