Skip to content
Snippets Groups Projects
celerity-config.py.j2 419 B
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

SIGNING_KEY = '{{ worker_celerity_signing_key }}'
SERVER_URL = 'https://{{ worker_celerity_server }}:6200'

WORKERS_COUNT = {{ worker_workers_count }}

# MediaServer interactions
MEDIASERVERS = {
{% for instance in worker_ms_instances %}
    '{{ instance.ms_id }}': {'url': 'https://{{ instance.ms_server_name }}', 'api_key': '{{ instance.ms_api_key }}'},
{% endfor %}
}