Coder.com

C

Coder.com

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

Join

mount multiple volumes on 1 workspace

Is it possible to do that? and how would my main.tf look likes? https://discord.com/channels/747933592273027093/1011921824650633286/1011921824650633286 I saw this guy mention that he want to mount 1 path. Now let say I can't change my dir around, is it possible to mount multiple paths?...

Need help/instructions on accessing a code-server via LAN on another PC.

Running a VM with access to local resources. Has a web-app running on port 80. I wanted to install code-server on this VM so I can edit code via a browser on another PC in the local network. I used the install script here -> https://github.com/coder/code-server Tried setting the config.yaml to <IP_ADDRESS>:8080 where <IP_ADDRESS> is the local IP of the ubuntu VM...

I reinstalled coder becuase I was upgrading my server, I need help with docker.

Why am i getting this. I tried giving permission and i rebooted server
No description

Question/clarification about codercom/enterprise-base image

I'm trying to build my own base image for Coder, and I've been researching various Ubuntu base images, but since I need docker-in-docker, my main reference is the following Dockerfiles from Sysbox: https://github.com/nestybox/dockerfiles/blob/master/ubuntu-jammy-systemd/Dockerfile https://github.com/nestybox/dockerfiles/blob/master/ubuntu-jammy-docker/Dockerfile compared with this ...

Cloudflare Proxy

Hey so I want to hide the original VPS IP from cloudflare but if I do that coder portforwarding won'tm mworki properly. How can I run coder with cloudflare hiding my IP?

It has been a while since I have install/used coder Please Help

Hey guys, so I have came back to coder for my new project. I have not installed it in a while, I am having issues with setting up the Postgres database up. Please help me if you can. Heavily appreciated....
No description

OIDC with Gitlab

Even with https://github.com/coder/coder/pull/5507 merged have no success with gitlab as OIDC provider. If I put a debug print of the claims data here: https://github.com/coder/coder/blob/main/coderd/userauth.go#L253 I something like this:
{"request_id": "b4bdb687-ebc3-4417-859a-30a801a14900", "Username": {"aud": "d5d9aadca67c0f49b2b7184c1904f2b602ed658f7902183f42fc36b94f945847", "auth_time": 1673612004, "email": "[email protected]", "email_verified": true, "exp": 1673882335, "groups_direct": ["aaa", "bbb", "ccc"], "iat": 1673882215, "iss": "https://gitlab.xxx.de", "sub": "7", "sub_legacy": "46e97dbbd9e7fd062ff2b6413072f0f634652eef58735409ea59638889c4e804"}}
{"request_id": "b4bdb687-ebc3-4417-859a-30a801a14900", "Username": {"aud": "d5d9aadca67c0f49b2b7184c1904f2b602ed658f7902183f42fc36b94f945847", "auth_time": 1673612004, "email": "[email protected]", "email_verified": true, "exp": 1673882335, "groups_direct": ["aaa", "bbb", "ccc"], "iat": 1673882215, "iss": "https://gitlab.xxx.de", "sub": "7", "sub_legacy": "46e97dbbd9e7fd062ff2b6413072f0f634652eef58735409ea59638889c4e804"}}
The nickname is completely missing. Has anyone an idea what I do wrong?...

Can the Coder Server be a k8s service?

After the discussion yesterday here, I got to thinking. Is there a way to have the Coder Server be a "pure" k8s service instead of a final endpoint? In other words, a way to allow the API to be authenticated, but then user workflow is simply controlled by the client directly i.e. no user login. Coder would be part of a bigger overall system and calls to it would be trusted. 🤔 Basically, I believe the API would just need an API key from the client that can be fairly static to allow the client to control Coder....

Supporting Code-Server Port Forwards from Coder

Is this something that currently works and I just haven't set it up right? I am connecting through a coder instance running on my VPS, so localhost is not correct. https://files.mcaq.me/30578.jpg...

CSS not loading when configured as app

I have a template with mongo-express installed. When I try to reach the app the webpage looks odd and isn't loading(left). When I reach the interface via port-forward menu it looks normal (right):
No description

Avoid the double ssh entry locally?

Hi, When I run coder config-ssh it always adds two entries. Is there a way to avoid that? Scott...
No description

Is it possible to let a reverse proxy handle authentication?

Hi! I'm running my coder v2 server on the Google Cloud Platform and I was wondering if it is possible to let the Google Cloud Identity Aware Proxy handle authentication. Has coder v2 support for such setup? If not, could that be a useful feature to add? ...

Is it possible to enable networking between coder docker containers?

I am working on a mongod image. My ideal use case would be to have a coder template that creates and manages multiple mongodb databases that I can use in my other workspaces. I started creating a template with docker: https://github.com/T0mThomson/coder-templates/tree/main/mongodb It succesfully runs mongodb and a web ui to manage the databses (mongo-express). ...
No description

After configuring the TLS-certificate in the coder config I can no longer reach the web ui

After configuring the TLS-certificate in the coder config I can no longer reach the web ui. I am getting HTTP ERROR 400. Coder-setup: - I am running coder v0.14.1 as system proccess via the install script - To reach coder I am using nginx as a proxy server. It should only proxy request from https://coder.domain.com/ to http://127.0.0.1:3000/ (to reach the coder ui). It also redirects http://coder.domain.com/ to https://coder.domain.com/. The wildcard certificate is also installed here with nginx...
No description

Edit template startup script

Hi everyone, I was trying to modify the startup script of the coder agent of a template. According to the doc, i pull & decompress the template with
coder templates pull docker-code-server file.tar && tar -xf file.tar && rm file.tar
coder templates pull docker-code-server file.tar && tar -xf file.tar && rm file.tar
...

Coder terminating and re-creating on start?

Hi folks, I've got what I think is a pretty vanilla template set up (AWS EC2 instance) and am seeing some strange behavior: - When I stop a workspace, the instance stops, starts, and then stops again. - When I start the workspace back up, the instance (and its attached volume) is terminated and a new one comes up in its place. ...

Got permission denied while trying to connect to the Docker daemon socket

Hi everyone. I'm trying to test an instance of Coder on Docker Swarm, but the Docker daemon socket is not connecting, because "coder" user is not in the docker group - this is while trying to run coder templates create for swarm
#group_add:
# - "998" # docker group on host
#group_add:
# - "998" # docker group on host
...