enable load extra apps
This commit is contained in:
parent
ca5f12eede
commit
19633ca284
2 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,7 @@ env = environ.FileAwareEnv(
|
||||||
# (generated by `neodb-manage invite --create`)
|
# (generated by `neodb-manage invite --create`)
|
||||||
NEODB_INVITE_ONLY=(bool, False),
|
NEODB_INVITE_ONLY=(bool, False),
|
||||||
NEODB_ENABLE_LOCAL_ONLY=(bool, False),
|
NEODB_ENABLE_LOCAL_ONLY=(bool, False),
|
||||||
|
NEODB_EXTRA_APPS=(list, []),
|
||||||
# Mastodon/Pleroma instance allowed to login, keep empty to allow any instance to login
|
# Mastodon/Pleroma instance allowed to login, keep empty to allow any instance to login
|
||||||
NEODB_LOGIN_MASTODON_WHITELIST=(list, []),
|
NEODB_LOGIN_MASTODON_WHITELIST=(list, []),
|
||||||
# DATABASE
|
# DATABASE
|
||||||
|
@ -295,6 +296,9 @@ INSTALLED_APPS += [
|
||||||
"legacy.apps.LegacyConfig",
|
"legacy.apps.LegacyConfig",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
for app in env("NEODB_EXTRA_APPS"):
|
||||||
|
INSTALLED_APPS.append(app)
|
||||||
|
|
||||||
INSTALLED_APPS += [ # we may override templates in these 3rd party apps
|
INSTALLED_APPS += [ # we may override templates in these 3rd party apps
|
||||||
"oauth2_provider",
|
"oauth2_provider",
|
||||||
]
|
]
|
||||||
|
|
|
@ -42,6 +42,7 @@ x-shared:
|
||||||
NEODB_EMAIL_URL:
|
NEODB_EMAIL_URL:
|
||||||
NEODB_EMAIL_FROM: no-reply@${NEODB_SITE_DOMAIN}
|
NEODB_EMAIL_FROM: no-reply@${NEODB_SITE_DOMAIN}
|
||||||
NEODB_ENABLE_LOCAL_ONLY:
|
NEODB_ENABLE_LOCAL_ONLY:
|
||||||
|
NEODB_EXTRA_APPS:
|
||||||
NEODB_FANOUT_LIMIT_DAYS:
|
NEODB_FANOUT_LIMIT_DAYS:
|
||||||
TAKAHE_FANOUT_LIMIT_DAYS:
|
TAKAHE_FANOUT_LIMIT_DAYS:
|
||||||
NEODB_DOWNLOADER_PROXY_LIST:
|
NEODB_DOWNLOADER_PROXY_LIST:
|
||||||
|
|
Loading…
Add table
Reference in a new issue