Added option to bubble up plugins errors

This commit is contained in:
Eliot Berriot 2019-09-23 18:22:20 +02:00
parent ddee01cc2f
commit fffd5a6972
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
2 changed files with 4 additions and 0 deletions

View File

@ -892,3 +892,5 @@ MODERATION_EMAIL_NOTIFICATIONS_ENABLED = env.bool(
# Delay in days after signup before we show the "support us" messages
INSTANCE_SUPPORT_MESSAGE_DELAY = env.int("INSTANCE_SUPPORT_MESSAGE_DELAY", default=15)
FUNKWHALE_SUPPORT_MESSAGE_DELAY = env.int("FUNKWHALE_SUPPORT_MESSAGE_DELAY", default=15)
PLUGINS_FAIL_LOUDLY = env.bool("PLUGINS_FAIL_LOUDLY", default=False)

View File

@ -67,6 +67,7 @@ services:
- "CACHE_URL=redis://redis:6379/0"
- "STATIC_ROOT=/staticfiles"
- "MEDIA_ROOT=/data/media"
- "PLUGINS_FAIL_LOUDLY=True"
depends_on:
- postgres
@ -95,6 +96,7 @@ services:
- "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0"
- "MEDIA_ROOT=/data/media"
- "PLUGINS_FAIL_LOUDLY=True"
volumes:
- ./api:/app
- "${MUSIC_DIRECTORY_SERVE_PATH-./data/music}:/music:ro"