Simple template for code-server
Hello,
I'm new in this field. so forgive me if I'm misunderstanding.
I wanted to provide a web based IDE for multiple developers on a remote server. so that each user could log in to the server and open his own instance of the IDE. from what I read in the docs coder could provide this solution for me.
I followed the documentation instructions and now I have a workspace running from the following template:
https://github.com/coder/coder/discussions/3466
However when I open the workspace in the web UI. there is no button for the IDE. it seems that no agent is running. am I doing anything wrong?
Also I tried the docker-code-server template too. in that case there was an agent named main but again no IDE or Terminal button.
GitHub
Simple template for code-server · Discussion #3466 · coder/coder
Hello, I'm new in this field. so forgive me if I'm misunderstanding. I wanted to provide a web based IDE for multiple developers on a remote server. so that each user could log in t...
40 Replies
yes! that's normal
you have to use a provider for the machine the IDE will run on
currently you're asking it to run code-server on thin air
a provider is docker, amazon aws, etc
basically a place where you can deploy machines/containers
@Mixture do you have docker on your machine?
it's the simplest way imo
yes I do. I also tried the docker-code-server template but couldn't acces any IDE
let's use that template instead
your current template is just invalid atm
what happens when you use the docker-code-server template?
the workspace starts running and when I open the web UI and click on the workspace an agent named main is running but no Icon for IDE or Terminal is visible
can you screenshot?
sure, I'll try it again now
![No description](https://cdn.answeroverflow.com/1007316832933388311/unknown.png)
@Phorcys In the logs I can also see a warning which I don't know if it's related or not:
Warning: The access URL http://127.0.0.1:7080 isn't externally reachable, this may cause unexpected problems when creating workspaces. Generate a unique *.try.coder.app URL
it is
that was my hypothesis
hold on 1s
can you send me your template
well, docker-code-server
I haven't edited it. but ok I'll send it
yeh I'm on mobile atm so it's hard to find it
(previous file was wrong)
hmm
it should be fine though
@kyle any idea?
it should be replaced to host.docker.internal properly i don't see what's wrong
Here is the
/etc/coder.d/coder.env
if it helps: