forked from mirrors/bookwyrm
31deb36c85
Needed to prevent connection errors if the password contains non-urlsafe characters. Dockerfile change because all the services using it are mirroring ./ in /app now anyway. Flower needs because it needs bookwyrm in order to read the celerywyrm config (because flower only allows overwriting broker_url from the command line and we want to do it in Python so we have access to a urlencode function).
15 lines
351 B
Python
15 lines
351 B
Python
""" bookwyrm settings and configuration """
|
|
from bookwyrm.settings import *
|
|
|
|
CELERY_BROKER_URL = CELERY_BROKER
|
|
CELERY_ACCEPT_CONTENT = ["json"]
|
|
CELERY_TASK_SERIALIZER = "json"
|
|
FLOWER_PORT = env("FLOWER_PORT")
|
|
|
|
INSTALLED_APPS = INSTALLED_APPS + [
|
|
"celerywyrm",
|
|
]
|
|
|
|
ROOT_URLCONF = "celerywyrm.urls"
|
|
|
|
WSGI_APPLICATION = "celerywyrm.wsgi.application"
|