Changeset View
Changeset View
Standalone View
Standalone View
swh/web/config.py
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | DEFAULT_CONFIG = { | ||||
}), | }), | ||||
'scheduler': ('dict', { | 'scheduler': ('dict', { | ||||
'cls': 'remote', | 'cls': 'remote', | ||||
'args': { | 'args': { | ||||
'url': 'http://localhost:5008/' | 'url': 'http://localhost:5008/' | ||||
} | } | ||||
}), | }), | ||||
'grecaptcha': ('dict', { | 'grecaptcha': ('dict', { | ||||
'activated': True, | |||||
'validation_url': 'https://www.google.com/recaptcha/api/siteverify', | 'validation_url': 'https://www.google.com/recaptcha/api/siteverify', | ||||
'site_key': '', | 'site_key': '', | ||||
'private_key': '' | 'private_key': '' | ||||
}), | }), | ||||
'production_db': ('string', '/var/lib/swh/web.sqlite3'), | 'production_db': ('string', '/var/lib/swh/web.sqlite3'), | ||||
'deposit': ('dict', { | 'deposit': ('dict', { | ||||
'private_api_url': 'https://deposit.softwareheritage.org/1/private/', | 'private_api_url': 'https://deposit.softwareheritage.org/1/private/', | ||||
'private_api_user': 'swhworker', | 'private_api_user': 'swhworker', | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |