Skip to content

Dgraph

services.dgraph.alpha.host

The host which dgraph alpha will be run on.

Type: string

Default

"localhost"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/databases/dgraph.nix

services.dgraph.alpha.port

The port which to run dgraph alpha on.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

7080

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/databases/dgraph.nix

services.dgraph.enable

Whether to enable Dgraph native GraphQL database with a graph backend. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/databases/dgraph.nix

services.dgraph.package

The dgraph package to use. Type: package

Default

pkgs.dgraph

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/databases/dgraph.nix

services.dgraph.settings

Contents of the dgraph config. For more details see https://dgraph.io/docs/deploy/config

Type: JSON value

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/databases/dgraph.nix

services.dgraph.zero.host

The host which dgraph zero will be run on.

Type: string

Default

"localhost"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/databases/dgraph.nix

services.dgraph.zero.port

The port which to run dgraph zero on.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

5080

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/databases/dgraph.nix