services.keycloak.database.host

Hostname of the database to connect to.

For PostgreSQL, this can also be a path to a Unix socket directory (e.g., /run/postgresql) to use peer authentication. This requires adding junixsocket-common and junixsocket-native-common to services.keycloak.plugins.

Type
string
Default
"localhost"
Declared
<nixpkgs/nixos/modules/services/web-apps/keycloak.nix>