You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies, this is more a question about Docker. However the updated FAQ doesn't really help me out here, hopefully someone can help me out and maybe add some more info to the FAQ.
I have a docker-compose file which builds my code-server instance.
How do I set this flag in my docker-compose file?
I tried setting an environment variable (like the code-server password) but that didn't work.
Right now I am not able to login to code-server because the cookie is being set to my servers local LAN IP so I can't re-authenticate. This all worked fine prior to 3.1.0
I can manually add the cookie and it works fine... it is just not getting set correctly because I can't configure the domain.
The text was updated successfully, but these errors were encountered:
Not sure what you mean. I'll give you an example of how to set it up:
DNS record code-server.org points to my server 1.1.1.1.
DNS record 3000.code-server.org also points to my server 1.1.1.1.
code-server --proxy-domain *.code-server.org will forward 3000, or any port in that subdomain to the requested port on your server, all behind code-server auth.
Hi Kyle - Thanks, yes I understand how it all works. I’ve had it working fine prior to 3.1.
I just don’t know how to add the proxy domain flag to a docker image? I’m not running the executable myself - docker is. Unsure where the flag needs to go. Do you use docker-compose?
Apologies, this is more a question about Docker. However the updated FAQ doesn't really help me out here, hopefully someone can help me out and maybe add some more info to the FAQ.
ref: https://github.com/cdr/code-server/blob/master/doc/FAQ.md#how-do-i-securely-access-web-services
I have a
docker-compose
file which builds my code-server instance.How do I set this flag in my docker-compose file?
I tried setting an environment variable (like the code-server password) but that didn't work.
Right now I am not able to login to code-server because the cookie is being set to my servers local LAN IP so I can't re-authenticate. This all worked fine prior to 3.1.0
I can manually add the cookie and it works fine... it is just not getting set correctly because I can't configure the domain.
The text was updated successfully, but these errors were encountered: