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
nixos/calibre-server: Add address configuration #73110
Conversation
This commit introduces two new fields into the configuration of calibre-server, listenAddress and port. These allow the operator to configure the addresses that calibre should listen on, and the port it should bind to respectively. The default values here are copied from calibre itself, to avoid backwards compatibility issues or more complicated service configuration.
default = "::"; | ||
example = "127.0.0.1"; | ||
description = '' | ||
The interface on which to listen for connections. The value "::" will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change it to The address on which to listen for connections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could do - I was keeping it inline with the upstream documentation for now, but don't feel strongly either way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Thanks for the explanation.
Hey @domenkozar / @pSub - Was hoping that one of you may be able to take a look at this soon? Thanks! |
I marked this as stale due to inactivity. → More info |
@endocrimes PING |
@endocrimes Any chance of solving the conflict? Thanks! |
@AndersonTorres Why are you closing this issue? I tried to resolve the conflicts yesterday. Somehow ofborg fail and I wanted to investigate this weekend. |
Two years and the original poster ignored the pings and replies. I closed it because it was abandoned. If anyone is interested, certainly it can be reopened. |
This commit introduces two new fields into the configuration of calibre-server, listenAddress and port. These allow the operator to configure the addresses that calibre should listen on, and the port it should bind to respectively.
The default values here are copied from calibre itself, to avoid backwards compatibility issues or more complicated service configuration.
Motivation for this change
calibre defaults to listening on port 8080 on all interfaces, which isn't ideal in almost any configuration outside of developing calibre itself. Exposing this configuration lets people run calibre more reasonably.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @domenkozar @pSub @AndersonTorres