Adjust the sqlalchemy url and CSP info for datagrepper
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
b0015cc762
commit
735d46dc98
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ config = {
|
||||||
# expect the amount of data it generates to grow pretty steadily over time
|
# 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
|
# and we don't want *read* operations on that database to slow down all our
|
||||||
# other apps.
|
# 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.
|
# Only allow ajax/websockets connections back to our domains.
|
||||||
# https://github.com/fedora-infra/datagrepper/pull/192
|
# 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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue