Skip to content

Db rest

services.db-rest.enable

Whether to enable db-rest service. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.group

Group under which db-rest runs. Type: string

Default

"db-rest"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.host

The host address the db-rest server should listen on. Type: string

Default

"127.0.0.1"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.package

The db-rest package to use. Type: package

Default

pkgs.db-rest

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.port

The port the db-rest server should listen on. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

3000

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.redis.createLocally

Configure a local redis server for db-rest. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.redis.enable

Enable caching with redis for db-rest. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.redis.host

Redis host. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.redis.passwordFile

Path to a file containing the redis password. Type: null or path

Default

null

Example

"/run/keys/db-rest/pasword-redis-db"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.redis.port

Redis port. Type: null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.redis.useSSL

Use SSL if using a redis network connection. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.redis.user

Optional username used for authentication with redis. Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix

services.db-rest.user

User account under which db-rest runs. Type: string

Default

"db-rest"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/db-rest.nix