| |
@@ -83,7 +83,7 @@
|
| |
PUBLIC_COPR_HOSTNAME = 'localhost:5000'
|
| |
PUBLIC_COPR_BASE_URL = 'http://frontend:5000'
|
| |
|
| |
- BACKEND_BASE_URL = 'http://localhost:5002'
|
| |
+ BACKEND_BASE_URL = 'http://backend_httpd:5002'
|
| |
DIST_GIT_CLONE_URL = 'http://distgit/git/'
|
| |
DIST_GIT_URL = 'http://localhost:5001/cgit'
|
| |
COPR_DIST_GIT_LOGS_URL = 'http://localhost:5001/per-task-logs'
|
| |
The problem is following - http://localhost:5002 is approachable
from the host system and backend results are served there. This URL
needs to be used e.g. when rendering links pointing to logs on
the backend. However, at the same time, this URL is not available
within the containers so builds fail when using it for
copr_base
repository with
skip_if_unavailable=False
.I don't know how to get both features working other than having
two distinct config options for
BACKEND_BASE_URL
(e.g. addingBACKEND_BASE_URL_PRIVATE
). And I am not a big fan of this solution.