File size: 661 Bytes
252d749
 
 
 
 
 
 
 
 
 
02db080
252d749
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from os import environ
import ssl

task_serializer = "json"
result_serializer = "json"
accept_content = ["json"]
timezone = "Europe/Oslo"
enable_utc = True

broker_url = f"rediss://default:59c9ffda43f61cc18b44a3407a2a7793@master.transcription--legal-stuff--a96n-7tyr.addon.code.run:6379?ssl_cert_reqs=none"
result_backend = f"db+postgresql+psycopg2://postgres:[email protected]:5432/postgres"

# SSL/TLS and SNI configuration
broker_use_ssl = {
    "ssl_cert_reqs": ssl.CERT_NONE,
    "ssl_match_hostname": False,
    "ssl_check_hostname": False,
    "ssl_sni": "master.transcription--legal-stuff--a96n-7tyr.addon.code.run",
}