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
Phorcys
Phorcys3y ago
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
Mixture
Mixture3y ago
yes I do. I also tried the docker-code-server template but couldn't acces any IDE
Phorcys
Phorcys3y ago
let's use that template instead your current template is just invalid atm what happens when you use the docker-code-server template?
Mixture
Mixture3y ago
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
Phorcys
Phorcys3y ago
can you screenshot?
Mixture
Mixture3y ago
sure, I'll try it again now
Mixture
Mixture3y ago
No description
Mixture
Mixture3y ago
@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
Phorcys
Phorcys3y ago
it is that was my hypothesis hold on 1s can you send me your template well, docker-code-server
Mixture
Mixture3y ago
I haven't edited it. but ok I'll send it
Phorcys
Phorcys3y ago
yeh I'm on mobile atm so it's hard to find it
Mixture
Mixture3y ago
(previous file was wrong)
Phorcys
Phorcys3y ago
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
Mixture
Mixture3y ago
Here is the /etc/coder.d/coder.env if it helps:
# Run "coder server --help" for flag information.
CODER_ACCESS_URL=
CODER_ADDRESS="localhost:7080"
CODER_PG_CONNECTION_URL=
CODER_TLS_CERT_FILE=
CODER_TLS_ENABLE=
CODER_TLS_KEY_FILE=
# Generate a unique *.try.coder.app access URL
CODER_TUNNEL=false
# Run "coder server --help" for flag information.
CODER_ACCESS_URL=
CODER_ADDRESS="localhost:7080"
CODER_PG_CONNECTION_URL=
CODER_TLS_CERT_FILE=
CODER_TLS_ENABLE=
CODER_TLS_KEY_FILE=
# Generate a unique *.try.coder.app access URL
CODER_TUNNEL=false
Want results from more Discord servers?
Add your server