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:
| Key | Why it matters |
|---|---|
service.publicurl | The address people use. Links in e-mails and incoming webhook addresses are built from it. |
service.secret | Signs 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.trustedproxies | Which 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.* keys | SQLite by default; MySQL and PostgreSQL are supported. See choosing a database. |
files.basepath | Where 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):
| Key | Default | Module |
|---|---|---|
forms.enabled | true | Forms |
forms.maxbodysize | 262144 | Forms |
forms.maxattachments | 5 | Forms |
forms.maxattachmentsize | 10MB | Forms |
forms.public.enabled | true | Forms |
forms.public.attachments | false | Forms |
forms.public.ratelimit | 10 | Forms |
forms.public.formratelimit | 300 | Forms |
forms.public.requestratelimit | 60 | Forms |
automation.enabled | true | Automation |
automation.maxdepth | 3 | Automation |
automation.maxactions | 25 | Automation |
automation.steptimeout | 10s | Automation |
automation.runtimeout | 60s | Automation |
automation.ratelimit | 60 | Automation |
automation.workers | 4 | Automation |
automation.maxattempts | 5 | Automation |
automation.maxconsecutivefailures | 20 | Automation |
automation.pollinterval | 1s | Automation |
automation.cachettl | 30s | Automation |
automation.retention | 30 | Automation |
automation.ticker.interval | 30s | Automation |
automation.ticker.maxtasks | 100 | Automation |
automation.ticker.maxscan | 5000 | Automation |
automation.waitmax | 720h | Automation |
automation.maxpendingwaits | 1000 | Automation |
automation.maxrulesperproject | 100 | Automation |
automation.webhook.maxbody | 65536 | Automation |
automation.webhook.tolerance | 5m | Automation |
automation.webhook.ratelimit | 60 | Automation |
automation.scripts.enabled | true | Automation |
automation.scripts.timeout | 5s | Automation |
automation.scripts.conditiontimeout | 1s | Automation |
automation.scripts.maxsource | 65536 | Automation |
automation.scripts.maxapicalls | 100 | Automation |
automation.scripts.maxhttprequests | 5 | Automation |
automation.scripts.maxresponsesize | 1048576 | Automation |
automation.scripts.maxlogsize | 16384 | Automation |
automation.scripts.maxcallstack | 512 | Automation |
automation.scripts.maxresults | 200 | Automation |
automation.scripts.httptimeout | 10s | Automation |
reports.cachettl | 30s | Dashboards and reports |
reports.maxgroups | 200 | Dashboards and reports |
reports.maxbuckets | 366 | Dashboards and reports |
reports.maxrows | 50000 | Dashboards and reports |
reports.timeout | 20s | Dashboards 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.