nps.stacks.davis.enable

Whether to enable davis.

Type: boolean

Default: false

Example: true

Declared by:

nps.stacks.davis.enableLdapAuth

Whether to enable login via LLDAP as an auth provider

Type: boolean

Default: config.nps.stacks.lldap.enable

Declared by:

nps.stacks.davis.adminPasswordFile

Path to the file containing the admin password.

Type: absolute path

Declared by:

nps.stacks.davis.adminUsername

Admin username to access the dashboard.

Type: string

Default: "admin"

Declared by:

nps.stacks.davis.containers.davis

Alias of services.podman.containers.davis.

Type: submodule

Declared by:

nps.stacks.davis.db.rootPasswordFile

Path to the file containing the password for the MySQL root user.

Type: absolute path

Declared by:

nps.stacks.davis.db.type

Type of the database to use. Can be set to “sqlite” or “mysql”. If set to “mysql”, the userPasswordFile and rootPasswordFile options must be set.

Type: one of “sqlite”, “mysql”

Default: "mysql"

Declared by:

nps.stacks.davis.db.userPasswordFile

Path to the file containing the password for the davis database user.

Type: absolute path

Declared by:

nps.stacks.davis.db.username

Username for the davis database user.

Type: string

Default: "davis"

Declared by:

nps.stacks.davis.extraEnv

Extra environment variables to set for the container. Variables can be either set directly or sourced from a file (e.g. for secrets).

See https://github.com/tchapi/davis/blob/main/docker/.env

Type: attribute set of (null or boolean or signed integer or string or absolute path or (submodule))

Default: { }

Example:

{
  MAIL_HOST = "smtp.myprovider.com";
  MAIL_PASSWORD = {
    fromFile = "/run/secrets/secret_name";
  };
}

Declared by: