Configuration

On this page

Every setting works as in upstream Vikunja: it comes from config.yml or from an environment variable, and the environment variable wins. This page covers what the fork adds. For the generic settings (database, mail, authentication, CORS, rate limits and so on) see upstream's configuration options; they are upstream's documentation and describe upstream's releases.

The complete, current list of keys with their comments is config-raw.json in the repository. config.yml.sample is generated from it, so the JSON is the file to read.

Settings you should always look at #

These are upstream keys, but a working install of the fork depends on them:

KeyWhy it matters
service.publicurlThe address people use. Links in e-mails and incoming webhook addresses are built from it.
service.secretSigns tokens. If it is unset, a random one is created at every start and all tokens become invalid on restart. Encrypted project secrets of automation rules depend on it as well.
service.ipextractionmethod, service.trustedproxiesWhich client address the server uses. The per-IP limits of public forms and webhooks rely on it. See behind a reverse proxy.
database.type and the other database.* keysSQLite by default; MySQL and PostgreSQL are supported. See choosing a database.
files.basepathWhere attachments are stored. The image sets the root path to /app/vikunja/.

Configuration keys at a glance #

Settings come from config.yml or from environment variables; environment variables override the file. The variable name is VIKUNJA_ plus the key in upper case with dots as underscores, so automation.ticker.interval is VIKUNJA_AUTOMATION_TICKER_INTERVAL. The full list with comments is config-raw.json. config.yml.sample is generated from it with mage generate:config-yaml; edit the JSON, not the sample.

The fork's keys, with their defaults (the meaning of each is on the module page):

KeyDefaultModule
forms.enabledtrueForms
forms.maxbodysize262144Forms
forms.maxattachments5Forms
forms.maxattachmentsize10MBForms
forms.public.enabledtrueForms
forms.public.attachmentsfalseForms
forms.public.ratelimit10Forms
forms.public.formratelimit300Forms
forms.public.requestratelimit60Forms
automation.enabledtrueAutomation
automation.maxdepth3Automation
automation.maxactions25Automation
automation.steptimeout10sAutomation
automation.runtimeout60sAutomation
automation.ratelimit60Automation
automation.workers4Automation
automation.maxattempts5Automation
automation.maxconsecutivefailures20Automation
automation.pollinterval1sAutomation
automation.cachettl30sAutomation
automation.retention30Automation
automation.ticker.interval30sAutomation
automation.ticker.maxtasks100Automation
automation.ticker.maxscan5000Automation
automation.waitmax720hAutomation
automation.maxpendingwaits1000Automation
automation.maxrulesperproject100Automation
automation.webhook.maxbody65536Automation
automation.webhook.tolerance5mAutomation
automation.webhook.ratelimit60Automation
automation.scripts.enabledtrueAutomation
automation.scripts.timeout5sAutomation
automation.scripts.conditiontimeout1sAutomation
automation.scripts.maxsource65536Automation
automation.scripts.maxapicalls100Automation
automation.scripts.maxhttprequests5Automation
automation.scripts.maxresponsesize1048576Automation
automation.scripts.maxlogsize16384Automation
automation.scripts.maxcallstack512Automation
automation.scripts.maxresults200Automation
automation.scripts.httptimeout10sAutomation
reports.cachettl30sDashboards and reports
reports.maxgroups200Dashboards and reports
reports.maxbuckets366Dashboards and reports
reports.maxrows50000Dashboards and reports
reports.timeout20sDashboards and reports

The modules without keys of their own (custom fields, workflows, approvals) share the instance's database and file settings. Besides these keys, service.publicurl, service.secret, service.timezone, service.ipextractionmethod, service.trustedproxies, outgoingrequests.allownonroutableips and outgoingrequests.proxyurl come from upstream and are used by the fork as described on the module pages.

No license key #

Upstream gates a few optional features behind license.key. In this fork nothing reads the key, so the setting has no effect even though it is still listed in config-raw.json.

Source of this page on GitHub