bind-addr ignored #6859
Unanswered
Aetherinox
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Ah yeah the command line flags take precedence over the config file, and we have code-server/ci/release-image/Dockerfile Line 58 in c7d88ab So, adding your own |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I decided to post a discussion instead of issue, because I hope this is something dumb on my end.
No matter how I configure it, it insists on using port 8080.
Edited the
config.yaml
I've tried putting
cert
firstTried
bind-addr:
first to see if it was a sorting issueTried
bind-addr: 0.0.0.0:8443
Tried
cert: false
No matter what, it refuses to change the port. The only way I can force the port to change is by adding:
I have to add an entrypoint. But then I lose
cert
unless I add it there.The weird thing is that it is indeed reading the config, because it's seeing
cert: true
, and the password is correct.I enabled debugging just to see if anything extra would come up, and I saw:
It appears to be parsing command-line first, and I have no args or env variables defined in my compose file for an IP or port, it's strictly just in the config.yaml
Only way I got it up and operational was
Yet my argon hashed password in the config.yml is read fine.
Beta Was this translation helpful? Give feedback.
All reactions