Mixture
Mixture
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
that's great. The only thing I can add is using 127.0.0.1 instead of localhost which is recommended in that page failed in my case. (but maybe it just has to do with our servers configuration) the following issue is related too: https://github.com/coder/coder/issues/2874
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
you're welcome
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
after all my knowledge is limited but I just wanted to give a feedback on this.
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
I tried to figure out the difference between CODER_ADDRESS and CODER_ACCESS_URL but couldn't find it there. the docker-compose section only contained the CODER_ACCESS_URL and it miss-leaded me.
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
sure, https://coder.com/docs/coder-oss/latest/install#system-packages here it says # Set up an external access URL or enable CODER_TUNNEL sudo vim /etc/coder.d/coder.env but not exactly how to set the env variables or what the env variables actually are used for.
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
Great, I'll try them. The install section in the documentation (without docker) is not complete I guess. I had to figure out the CODER_ADDRESS and CODER_ACCESS_URL by myself. I suggest for more information about this situation there. Thanks for your time
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
@maf Changing to CODER_ADDRESS=0.0.0.0:7080 solved it! Thanks alot. In the first place I wanted to run code-server without docker. so I tried to create a simple template. Isn't there any other local provider option than docker?
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
there is a jump server in between. but the coder UI itself doesn't have authentication ? (Thanks for your replies by the way)
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
I'm not an expert does this cause any security issues?
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
The same
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
(Also this is a remote server and I'm using port forwarding to reach to localhost:7080)
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
Do I revert back to CODER_ADDRESS="localhost:7080" ?
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
It's linux. the coder service itself is not ran by docker. by the way changing to CODER_ADDRESS="127.0.0.1:7080" caused the workspace to fail to run.
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
one question, what is the difference between CODER_ACCESS_URL and CODER_ACCESS it quite confused me at the first place.
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
@maf I'll try it. should I restart the coder service after changing the env variable?
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
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
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
(previous file was wrong)
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
I haven't edited it. but ok I'll send it
65 replies
CCoder.com
Created by Mixture on 8/11/2022 in #help
Simple template for code-server
@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
65 replies