Coder.com

C

Coder.com

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

Join

Upgrading AWS EC2 based coder server

I followed https://coder.com/docs/platforms/aws for setting up my initial coder instance, what's the intended upgrade path for this sort of install? Should I just use the coder install script? Or do I need to spin up a new instance with a newer version of the AMI?

Best practice for manipulating workspace on behalf of the user

Hello, i am working on a use case where one of our services is going to produce a file and deliver it to a certain user workspace. Ive been looking into existing to apis to accomplish something like that, I can see one way of potentially open a tty and execute a command there, but there are no examples of usage and I am not sure if that’s meant to be used for this kind of purpose. any recommendations?...

PostGres error

I have my Pg in my VM. Can U check if right config
No description

Does Coder Honor the Devcontainers Spec fully?

Hi Folks, I've been having some difficulties with devcontainers and coder. I've been using devcontainers successfully with GitHub codespaces. Coder picks up the correct image from devcontainer.json but nothing else. I've attached the template's main.tf file and the logs. And below is the devcontainers.json file. Any suggestions? { "image": "mcr.microsoft.com/devcontainers/universal:2-linux", "postCreateCommand": "/bin/bash -i -c .devcontainer/startup_script.sh",...

Code-Server Multi-user

Is there currently a self-hosted way of getting multiple users in the same code-server session and see each other like in VSCode Live Share?

Question about Docker-Template

Why is the installation script right here? Doesn't this section of code get run every time the container starts? Wouldn't it be better to move this into the dockerfile to just install it once?
No description

Unhealthy network using coder access url

I am trying to use CODER_ACCESS_URL to use my domain to access the coder instance running on my machine. * I am running coder locally * I setup a caddy reverse proxy filling the docs * I have my DNS record pointing at my local machine...
No description

NGINX Reverse Proxy Setup

Hello, Sorry if this as been asked before but I'm stuck in trying to setup a reverse proxy using NGINX Proxy Manager. I followed the steps as normal for adding a proxy host in NGINX but Coder is keeps reporting redirect too many times....
No description

Error in vscode-web module

Hello! Im pretty new using Coder and im trying to use the vscode-web module on my template but it doesnt seems to be working Full logs: ```...
Solution:
VSCode Web needs subdomain=true
No description

ctime

The task we have is the present time 06/02/2024, the task is to convert the time to the number 02062024, how can this be done? Below is the code that needs conversion ``` struct tm newtime; time_t now = time(NULL); localtime_s(&newtime, &now);...

code-server python extension bypass.

Hey I am using python extension. But its limiting and syntax hilighting doesn't works. Many issues said Pylance refused to work for VScode unofficial clone. How can I use Pylance and other official Python extensions with full functionalities?

Update code-server in Coder V2

How to upgrade/update them up-to-date
Solution:

1 Workspace, multiple container, coder_app on each

I hope this is a quick question: I've been playing with the docker version of coder to see what it can do, and was wondering whether it's possible to use multiple containers in a single workspace and expose multiple coder_apps via a Terraform template, where each coder_app resides on a different container. I thought the URL parameter in the coder_app would enable this, but it returns a "502 - Bad Gateway" for the app that isn't running on the coder_workspace container. My presumption is that it only tries to proxy to localhost, since the error looks like it's failing to connect to an [<IPv6_addr>]:80 and the agent log appears to have entries failing to connect to localhost:80. I'm basing the work on the Docker Containers template....
Solution:
Yes you are correct. Your solution is to run an agent in each container where you want to expose a coder_app

Open port via wildcard hostname keep loading

I tried to open a port via a wildcard domain name, but the page keep loading. The back end server is a NodeJS Express server

Docker windows, default template error on the template creation

Hello I'm new to Coder, and I'm trying to run the template with Docker Containers the one that is as template but it keeps failing the build
No description

Get last created workspace of user via CLI

From https://discord.com/channels/747933592273027093/971231372373033030/1245469675895394325 - @joshiscool --- Hi, is there any easy way to see when a workspace is created? I know its in the json output of coder ls but it would be nice if it was in a more accisble place....

Coder with cloudflare tunnels + cloudflare access?

I have seen the other thread on this, was just curious if anyone got this to work with cloudflare access for access. if not, tis fine. thanks!

sometimes getting 504 gateway timeout from port forwarded proxy from a docker workspace

image is just a request made from my application which sometimes gives this
No description

Git push username show as `default`

I can push successfully but the username show as default, username is correct in git config --list
Solution:
Either set .gitconfig or these env variables
No description

VSCode Extension Gives Connection Error

When trying to connect to a workspace using the extension it gives the error on the image
No description