2. Settings

2.1. Introduction

This chapter describes the general settings for the Query Builder.

API_URL

The URL for the API, e.g. https://querybuilder.example.com/api/v1.

BASE_URL

The base URL, e.g. https://querybuilder.example.com.

LOGO_URL

The URL where the browser is directed to when the user clicks on the logo, e.g. https://querybuilder.example.com/projects.

APP_DB_HOST

The hostname of the application model database, e.g. postgres.

APP_DB_PORT

The port number of the application model database, e.g. 5432.

APP_DB_USER

The username for the application model database, e.g. querybuilder.

APP_DB_PASSWORD

The password for the application model database, e.g. secret.

APP_DB_NAME

The name of the application model database, e.g. querybuilder.

APP_DATABASE_URL

The URL of the application model database, e.g. postgresql://querybuilder:secret@postgres:5432/querybuilder. In the default configuration file, this is built up by the APP_DB_* settings.

CONTACT_EMAIL

Support email address for e.g. users having trouble logging in.

EXEC_RECIPE_MODULE

Path to a recipe file, e.g. app.recipes.example. In this example there should be a file named example.py in the app/recipes directory.

GLOBAL_OWNER_EMAIL

Email address of a datasteward who is authorized to approve for all projects. If this setting is not used, individual projects must be provisioned with an owner email address.

Path to a logo image, e.g. /static/images/mgrid_logo.svg.

IMG_LOGO_LARGE

Path to a large logo image, e.g. /static/images/mgrid_logo.svg.

JWT_SECRET_KEY

The JWT secret key that is used to authenticate requests to the manegement API, e.g. jwt_secret.

LOCAL_TIMEZONE

Timestamps are stored in UTC and this setting is used to translate to the local timezone of the users, e.g. Europe/Amsterdam.

LOG_LEVEL

The application log level. Value can be debug, info, warning, error or critical.

Path for the session cookies, e.g. /.