[copr] new config options for backend and frontend
This commit is contained in:
parent
2e23119a63
commit
c455a4a39c
6 changed files with 10 additions and 2 deletions
|
@ -31,3 +31,5 @@ WTF_CSRF_ENABLED = True
|
||||||
|
|
||||||
# send emails when user's perms change in project?
|
# send emails when user's perms change in project?
|
||||||
SEND_EMAILS = True
|
SEND_EMAILS = True
|
||||||
|
|
||||||
|
PUBLIC_COPR_HOSTNAME = '{{ copr_frontend_public_hostname }}'
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
---
|
---
|
||||||
copr_hostname: "copr-fe.cloud.fedoraproject.org"
|
copr_hostname: "copr-fe.cloud.fedoraproject.org"
|
||||||
|
copr_frontend_public_hostname: "copr.fedoraproject.org"
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
---
|
---
|
||||||
|
copr_frontend_public_hostname: "copr-fe-dev.cloud.fedoraproject.org"
|
||||||
|
|
|
@ -6,8 +6,9 @@ results_baseurl=https://copr-be.cloud.fedoraproject.org/results
|
||||||
|
|
||||||
# ??? What is this
|
# ??? What is this
|
||||||
# default is http://coprs/rest/api
|
# default is http://coprs/rest/api
|
||||||
#frontend_url=http://copr-fe.cloud.fedoraproject.org/backend
|
frontend_url=http://copr-fe.cloud.fedoraproject.org/backend
|
||||||
frontend_url=https://172.16.5.31/backend
|
#frontend_url=https://172.16.5.31/backend
|
||||||
|
frontend_base_url=http://copr-fe.cloud.fedoraproject.org
|
||||||
|
|
||||||
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
|
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
|
||||||
# default is PASSWORDHERE but you really should change it. really.
|
# default is PASSWORDHERE but you really should change it. really.
|
||||||
|
|
|
@ -7,6 +7,7 @@ results_baseurl=http://copr-be-dev.cloud.fedoraproject.org/results
|
||||||
# ??? What is this
|
# ??? What is this
|
||||||
# default is http://coprs/rest/api
|
# default is http://coprs/rest/api
|
||||||
frontend_url=http://copr-fe-dev.cloud.fedoraproject.org/backend
|
frontend_url=http://copr-fe-dev.cloud.fedoraproject.org/backend
|
||||||
|
frontend_base_url=http://copr-fe-dev.cloud.fedoraproject.org
|
||||||
|
|
||||||
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
|
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
|
||||||
# default is PASSWORDHERE but you really should change it. really.
|
# default is PASSWORDHERE but you really should change it. really.
|
||||||
|
|
|
@ -31,3 +31,5 @@ WTF_CSRF_ENABLED = True
|
||||||
|
|
||||||
# send emails when user's perms change in project?
|
# send emails when user's perms change in project?
|
||||||
SEND_EMAILS = True
|
SEND_EMAILS = True
|
||||||
|
|
||||||
|
PUBLIC_COPR_HOSTNAME = "copr.fedoraproject.org"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue