Adjust the sqlalchemy url and CSP info for datagrepper

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2021-01-20 15:55:59 +01:00
parent b0015cc762
commit 735d46dc98

View file

@ -8,9 +8,9 @@ config = {
# expect the amount of data it generates to grow pretty steadily over time
# and we don't want *read* operations on that database to slow down all our
# other apps.
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommer_user }}:{{ datanommer_password }}@localhost/datanommer',
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommer_user }}:{{ datanommer_password }}@127.0.0.1:5432/datanommer',
# Only allow ajax/websockets connections back to our domains.
# https://github.com/fedora-infra/datagrepper/pull/192
'content_security_policy': 'connect-src https://*.fedoraproject.org wss://*.fedoraproject.org'
'content_security_policy': 'connect-src https://*.fedoraproject.org wss://*.fedoraproject.org http://100.26.18.234 http://*arc.fedorainfracloud.org'
}