invidious-mod/src/invidious
saltycrys f1a7ee997b Add config environment variables
The config file can now be specified with `INVIDIOUS_CONFIG_FILE`.
A YAML formatted string can still be passed with `INVIDIOUS_CONFIG`, replacing
the config file.

Additionally all options can now be specified as environment variables.
The syntax for variable names is `INVIDIOUS_` followed by the option name in
upper case. The values are parsed as YAML.

These new env vars only update the provided main configuration, but it is
possible to point the config file at the example config and then use env vars
for all config options:
```
INVIDIOUS_CONFIG_FILE=./config/config.example.yml \
INVIDIOUS_CHANNEL_THREADS=10 \
./invidious
```
2021-01-23 18:58:13 +01:00
..
helpers Add config environment variables 2021-01-23 18:58:13 +01:00
jobs Adjust log verbosity 2021-01-05 20:51:18 +01:00
routes add ui for searching 2021-01-17 14:33:49 -05:00
views add ui for searching 2021-01-17 14:33:49 -05:00
channels.cr Adjust log verbosity 2021-01-05 20:51:18 +01:00
comments.cr Remove admin_email. Use repos url for captcha ID and reddit header. Add note about not updating changelog 2021-01-07 21:09:24 +01:00
jobs.cr
mixes.cr
playlists.cr Fix `watch_videos` endpoint 2021-01-04 05:35:59 +01:00
routing.cr Make logger a constant 2021-01-05 20:43:19 +01:00
search.cr add ui for searching 2021-01-17 14:33:49 -05:00
trending.cr
users.cr Remove admin_email. Use repos url for captcha ID and reddit header. Add note about not updating changelog 2021-01-07 21:09:24 +01:00
videos.cr add config to decrypt on demand instead of polling 2021-01-03 20:50:52 +01:00