SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 17bd609c authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Move Celery broker url details to secrets

parent e36b6ed1
No related branches found
No related tags found
No related merge requests found
...@@ -379,7 +379,7 @@ LOGGING = { ...@@ -379,7 +379,7 @@ LOGGING = {
# Celery scheduled tasks # Celery scheduled tasks
CELERY_RESULT_BACKEND = 'django-db' CELERY_RESULT_BACKEND = 'django-db'
CELERY_BROKER_URL = 'amqp://guest:guest@localhost:17483//' CELERY_BROKER_URL = 'amqp://guest:guest@localhost:5672//'
CELERY_IMPORTS = ('submissions.tasks', ) CELERY_IMPORTS = ('submissions.tasks', )
......
...@@ -54,5 +54,5 @@ ITHENTICATE_PASSWORD = get_secret('ITHENTICATE_PASSWORD') ...@@ -54,5 +54,5 @@ ITHENTICATE_PASSWORD = get_secret('ITHENTICATE_PASSWORD')
LOGGING['handlers']['scipost_file_arxiv']['filename'] = '/home/scipost/webapps/scipost/logs/arxiv.log' LOGGING['handlers']['scipost_file_arxiv']['filename'] = '/home/scipost/webapps/scipost/logs/arxiv.log'
LOGGING['handlers']['scipost_file_doi']['filename'] = '/home/scipost/webapps/scipost/logs/doi.log' LOGGING['handlers']['scipost_file_doi']['filename'] = '/home/scipost/webapps/scipost/logs/doi.log'
# Celery scheduled tasks
#BROKER_URL = 'amqp://guest:guest@localhost:5672//' CELERY_BROKER_URL = get_secret('CELERY_BROKER_URL')
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<url><loc>https://scipost.org/finances/subsidies</loc></url> <url><loc>https://scipost.org/finances/subsidies</loc></url>
{% for newsitem in newsitems %} {% for newsitem in newsitems %}
<url><loc>https://scipost.org{{ newsitem.get_absolute_url }}</locL</url> <url><loc>https://scipost.org{{ newsitem.get_absolute_url }}>/locL>/url>
{% endfor %} {% endfor %}
{% for journal in journals %} {% for journal in journals %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment