-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying ip to bind to #125
Comments
Can you share the syntax for that? |
in the nginx section - With 99.99.99.99 replaced by the real ip I want it to listen on |
OK, we'll look into preserving those values in a future update. |
I might even suggest having this as a configuration option in the setup wizard. |
We now support creating a |
Using Its contents are merged with the default So if I add something like this
into The name "override file" is very misleading here, as you can't override anything, just add stuff. See docker/compose#3729 for more information. In my opinion the quickest short term solution would be to add something like "Parameter: ListenIP" for bitwarden-setup to use. |
DockerComposeBuilder already takes parameters for
But it parses those params as ints only. So I think we can just change that to string parsing and it will work to specify an IP too. |
Sure. Whatever makes your life easier. The result will be the same for existing setups. If you want to be extra secure maybe check if it really is just |
Does this solution work with the current version now? Or is there already another way to give the container a fixed IP? |
A few years down the line - has this feature been implemented, or is there a viable workaround? Right now running In my case, I already have an nginx instance running on the server, so I use the existing instance to proxy to |
Sorry to revive an old thread, but I too would really like to bind a specific IP, would be really helpful for servers with multiple IP's. I spent a while trying to figure out how to do this, I see you can add IP to the port and have the docker compose fixed on update but the run script still has to be manually fixed for certbot unless I'm missing something. Don't see the environment variable from the mentioned issue. |
I saw where you added the ability to specify what port. I would appreciate having a way to specify a specific IP to bind to. I currently edit docker-compose.yml each time I upgrade to add ip: before the 80:80 and 443:443 lines. It would be nice if I could configure this so it is automatically put back when I upgrade
The text was updated successfully, but these errors were encountered: