Conversation
…ket-native-common This way, keycloak can be configured to connect to PostgreSQL via unix sockets instead of TCP/IP, using the JDBC URI syntax as described in the junixsocket manual: https://kohlschutter.github.io/junixsocket/dependency.html#postgresql
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
Seems like a good change. Would it make sense to also adjust the NixOS module? nixpkgs/nixos/modules/services/web-apps/keycloak.nix Lines 431 to 432 in 5856831 createLocally is a default that results in db-url-host=localhost & db-url-port=5432 without any further user config.
|
That makes absolutely sense! However, I can't do that currently, as I have no NixOS instance running - I'm using Nixpkgs to create my own s6-based services on top of it. |
|
@SuperSandro2000 @nekowinston Since no volunteer stepped up to adjust |
This commit adds unix socket support to keycloak via junixsocket-common and junixsoket-native-common.
This way, keycloak can be configured to connect to PostgreSQL via unix sockets instead of TCP/IP, using the JDBC URI syntax as described in the junixsocket manual: https://kohlschutter.github.io/junixsocket/dependency.html#postgresql
For the related discussion, see:
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.