Spanish Total.js
English
Documentation For AI agents
Contents

Configuration file

The keys you can set in the config file.

.md GitHub
On this page

The config file is in the Flow folder. Each line holds a key and a value:

name    : My Flow
$logger : true

Restart Flow after you change this file.

Keys that apply on the first start only

Flow reads these keys the first time it starts and stores the values. After that, the stored values win, and changing the file has no effect.

KeyWhat it sets
nameThe name of the application. Change it later in Settings.
envThe environment: dev, test or prod. Change it later in Settings.
componentsThe address of the component catalog. Change it later in Settings.
templatesThe address of the template catalog.

Keys that apply on every start

KeyExampleWhat it does
$port8000The port Flow listens on.
$ip127.0.0.1The address Flow listens on.
$loggertrueWrites the server log to logs/debug.log.
directory/data/flow/An absolute path to the folder for your FlowStreams, used instead of the flowstream folder.
flowstream_memory512The memory limit in megabytes for FlowStreams whose Max. memory is 0.

Generated keys

Flow creates the cookie and cookie_secret values on the first start and stores them in databases/config.json. Keep that file: your password depends on the secret.

Made in Europe