Coder.com

C

Coder.com

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

Join

Memory and CPU limitations do not apply in NOMAD

main.tf (image: NOMAD set up with 1 core and 1 gb)...
No description

Is is possible to have control policies when using Github or GitLab authentication?

I’m in the process to replace Gitpod with a self hosted Coder installation. The setup went well and I wrote an article about it. Now, to have a more comfortable way to handle the workshop, I need to allow attendees to connect and have a workspace the easiest way. Currently, I just have to give them the workshop repository on GitLab or Github with the proper Gitpod configuration file. To do that with Coder, I need several things. The first one, is a way to allow them to connect to my Coder with an account they already have....

EACS03: get healthz endpoint: tls: failed to verify certificate: x509:

From what I see, I am getting these certificate errors due to them being made for 127.0.0.1 rather than 192.168.0.81. (I am not able to use Tunneling due to firewall restrictions.) In a likely related note, I am unable to use workspaces as they become unhealthy/unresponsive. Any ideas would be greately appreciated....
No description

Docker in Docker with sysbox cant find the deamon

Hello, I have installed coder with docker-compose. Also installed sysbox on the host that coder runs. I am trying to get docker to work inside the docker container but i get cannot connect to the docker daemon at unix:///var/run/docker.sock. is the docker daemon running? My dockerfile is the following:...

[warn] net.devtunnel: periodically re-register tunnel

I'm attempting to set up coder (via docker) for a class, and I get an error when trying to connect to the URL provided. Interestingly, it manages to get the tunnel URL in 0ms.
No description

Tailscale in workspace

Error: process "/bin/sh -c sudo tailscaled & sudo tailscale up --authkey=tskey-auth-kruFRdH1Cn1-pfp --tun=userspace-networking --outbound-http-proxy-listen=localhost:3128 --web" did not complete successfully: exit code: 1 on main.tf line 167, in resource "docker_image" "main": 167: resource "docker_image" "main" {...
No description

Devcontainer template fails to pull private repo, ssh-agent not available

``` envbuilder v1.0.0-rc.6+23d086e - Build development environments from repositories in a container #1: 🔑 Using SSH authentication! #1: 🔑 No SSH key found, falling back to agent! #1: ❌ Failed to connect to SSH agent: error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"...

Golang Template

Hi there, does anyone have a golang template with go version 1.22 or 1.23? The base golang image from coder has a too old version for me and I haven't figured out yet how to install a newer version in the coder workspace Thanks in advance!...

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?...