Coder.com

C

Coder.com

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

Join

home path empty

im running it on docker
Solution:
i suggest that you install code-server directly on the host if you need to access files from the host
No description

`workspace is unhealthy` error in `docker-compose` coder installation

I see the attached error when attempting to create a workspace from the vanilla docker template. - My coder service was constructed using the instructions from here: https://github.com/coder/coder/blob/main/examples/web-server/caddy/README.md - I have a domain hosted on Route 53 which redirects to my server IPv4 - If it's related, I am having websocket connectivity issues according to the health url (second attachment)...
No description

limiting resources on docker container workspaces

How to limit resources on docker workspace

Can't start built-in postgres

I'm getting an error saying that i can't start postgres when i try to start coder

AWS AMI works for a while then stops

Hey everyone 👋 newbie to Coder v2 here. Having a small issue and was hoping for some help I deploy Coder v2 to an AWS EC2 instance, this works initially for a few hours, but eventually the site redirects /login to /setup to create new account. After a couple minutes, I then get the following error: {"message":"Peer is not connected."}...

Shared ports still not working in OSS

I've updated to the latest version of Coder and I still get the same issue as in the picture below. Was apparently fixed here: https://github.com/coder/coder/issues/13259...
No description

OFF REGION infor, STUN, Proxy -> Coder internal Lan network only

Can i Set up and deploy Coder, In the infractructure which not have internet. Assume that i already have all needed image or local register for docker container. cannot access to google, proxy, and not have any exporter domain.

Running `vkcube` in a Docker workspace

https://discord.com/channels/747933592273027093/971231372373033030/1236981138455531562 / https://discord.com/channels/747933592273027093/971231372373033030/1239601013162508328 --- Hi @Phorcys I'm still having problems running vkcube, can not understand why nvidia gpu is not selected. Any other tip to make it work?...

Cannot publish template to Coder via CLI

From https://discord.com/channels/747933592273027093/971231372373033030/1240063511124508822 --- Any ideas why uploading a template using seems to succeed all the way to cleaning up then...

i have issues with terraform ubuntu server initial coder setup

``` Error: Invalid provider registry host The host "registry.terraform.io" given in provider source address "registry.terraform.io/coder/coder" does not offer a Terraform provider registry....

Coder on Windows

I manage a coder instance for my work group, and love it so much I decided to install it on my Windows desktop to help organize different development environments. However I've ran up against some problems that perhaps someone else has seen before and can suggest some fixes. I followed the directions in the docs, using winget and after updating the path manually (the installer complains about a path length) I could bring up a console and coder server was up and running in no time. I logged into the instance and set my user account up, and selected one of the starter templates (Docker containers) as my default, and tried to create a workspace, but get the following error:...

coder agent using token auth

Hi, I'm trying to start a coder agent using libvirt/KVM (not in a public cloud) and am having some challenges getting the coder agent to authenticate to my self-hosted coderd. In my terraform I use a remote-exec provisioner to do the init, like this: ```...

Remote access Coder with VSCode

Hi guys im new to Coder i want to remote access to my Coder server from VSCode app i read about Extension but im missing something to run it or theres other way to make it work Also i try to access to dev.coder.com it shows me unauthorized when trying to connect with GitHub...

cannot get caddy server to run as a service

caddy will not run by default. and when done manually i don’t get an error and seems to still not work. $systemctl status caddy × caddy.service - Caddy Loaded: loaded (/usr/lib/systemd/system/caddy.service; enabled; preset: enabled)...
Solution:
Hi. Regarding the issues you are getting with running Coder and now caddy as system services. I advice you to run coder using this method https://github.com/coder/coder/tree/main/examples/web-server/caddy#with-docker-compose...

What is the CLI command to edit a file using code-server?

Normally I would use code <filename> in VSCode, is there an equivalent with code-server?
Solution:
@John King it's code-server <filename> https://github.com/coder/code-server/issues/164#issuecomment-683707810 so you can alias code="code-server"...

Coder in VSCode sometimes stuck on embedded relay and not switching to peer-to-peer

This is a follow up from https://discord.com/channels/747933592273027093/971231372373033030/1236740492172071127 To sum it up again: Some days my VSCode almost immediately switches to peer-to-peer, others it's stuck on the coder embedded relay all day long. My network doesn't change, my firewall settings don't change, my coder server doesn't change. As for vscode extension version I'm not aware if there's a connection as that updates automatically in the background, but since it's been an on-off thing and not a one time "oh it broke" situation I'd assume it has nothing to do with the extension either. Not unlikely that some external factors like my ISP having a bad day are the cause of this, but I have no idea how I would approach debugging this....

github authentication

I'm trying to use devcontainers (on GCP VM). It appears the devcontainer setup only supports cloning using https. However, for private repos I can't get github authentication to work. In the coder web dashboard I can see I've connected github to my coder account....
Solution:
export CODER_EXTERNAL_AUTH_0_ID="something-github" export CODER_EXTERNAL_AUTH_0_TYPE="github" export CODER_EXTERNAL_AUTH_0_CLIENT_ID=some_id export CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=some_secret...

Allow everyone from OIDC

Hi. I am trying to allow everyone from my OpenID Connect. Since we self host our openid, we would like to allow everyone who login from there. How can we achieve that? Thanks!