mCaptcha

Packages

mcaptcha-0.1.0
Version: 0.1.0
cache-0.1.0
Version: 0.1.0

Options

services.mcaptcha.captcha.saltFile

Path to a file containing a salt.

Type:
absolute path
services.mcaptcha.database.createLocally

Whether to create and use a local database instance

Type:
boolean
Default:
false
services.mcaptcha.database.passwordFile

Path to a file containing a database password.

Ignored when {option}services.mcaptcha.database.createLocally.

Type:
null or absolute path
Default:
null
services.mcaptcha.enable

Whether to enable mCaptcha server.

Type:
boolean
Default:
false
services.mcaptcha.group

Group for the user mCaptcha runs under.

Type:
string
Default:
"mcaptcha"
services.mcaptcha.package

The mcaptcha package to use.

Type:
package
Default:
pkgs.mcaptcha
services.mcaptcha.redis.createLocally

Whether to create a Redis instance locally.

Type:
boolean
Default:
false
services.mcaptcha.redis.host

Ignored when {option}services.mcaptcha.redis.createLocally.

Type:
string
services.mcaptcha.redis.passwordFile

Path to a file containing the Redis server password.

Ignored when {option}services.mcaptcha.redis.createLocally.";

Type:
absolute path
services.mcaptcha.redis.port

Applies both when {option}services.mcaptcha.redis.createLocally is set and not.

Type:
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
6379
services.mcaptcha.redis.user

Ignored when {option}services.mcaptcha.redis.createLocally.

Type:
string
Default:
"default"
services.mcaptcha.server.cookieSecretFile

Path to a file containing a cookie secret.

Type:
absolute path
services.mcaptcha.settings

Extra settings.

Type:
TOML value
services.mcaptcha.settings.database.hostname

Ignored when {option}services.mcaptcha.database.createLocally.

Type:
null or string
Default:
null
services.mcaptcha.settings.database.name

Applies both when {option}services.mcaptcha.database.createLocally is set and not.

Type:
string
Default:
"mcaptcha"
services.mcaptcha.settings.database.port

Ignored when {option}services.mcaptcha.database.createLocally.

Type:
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
null
services.mcaptcha.settings.database.username

Ignored when {option}services.mcaptcha.database.createLocally.

Type:
null or string
Default:
null
services.mcaptcha.settings.server.domain

Web server host.

Type:
string
Default:
"localhost"
services.mcaptcha.settings.server.ip

Web server addresses to bind to.

Type:
string
Default:
"127.0.0.1"
services.mcaptcha.settings.server.port

Web server port.

Type:
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
7000
services.mcaptcha.user

User account to run under.

Type:
string
Default:
"mcaptcha"