Skip to content

Configs of Hanami

Info

This documeation was generated from the source-code to provide a maximum of consistency.

DEFAULT

Item Description
database Description: Path to the sqlite3 database-file for all local sql-tables of hanami.
Required: FALSE
Default: "/etc/openhanami/hanami_db"
debug Description: Flag to enable debug-output in logging.
Required: FALSE
Default: false
log_path Description: Path to the directory, where the log-files should be written into.
Required: FALSE
Default: "/var/log"

auth

Item Description
policies Description: Local path to the file with the endpoint-policies.
Required: FALSE
Default: "/etc/openhanami/policies"
token_expire_time Description: Number of seconds, until a jwt-token expired.
Required: FALSE
Default: 3600
token_key_path Description: Local path to the file with the key for signing and validating the jwt-token.
Required: TRUE

http

Item Description
enable Description: Flag to enable the http-endpoint.
Required: FALSE
Default: false
ip Description: IP-address, where the http-server should listen.
Required: FALSE
Default: "0.0.0.0"
number_of_threads Description: Number of threads in the thread-pool for processing http-requests.
Required: FALSE
Default: 4
port Description: Port, where the http-server should listen.
Required: FALSE
Default: 11418

processing

Item Description
use_of_free_memory Description: Define the percentage allcating free memory on the host (example: 0.5 = 50%). Maximum is 90% and will be hard cut, in case a value higher than 0.9 is provided. The minimum is 0.1
Required: FALSE
Default: 0.5

storage

Item Description
checkpoint_location Description: Local storage location, where all uploaded dataset should be written into.
Required: FALSE
Default: "/etc/openhanami/checkpoints"
dataset_location Description: Local storage location, where all uploaded dataset should be written into.
Required: FALSE
Default: "/etc/openhanami/datasets"
tempfile_location Description: Local storage location, where all temporary files for upload and download should be cached.
Required: FALSE
Default: "/etc/openhanami/tempfiles"
tempfile_timeout Description: Number of minutes, until an inactive timefile is removed.
Required: FALSE
Default: 10