diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-07-06 03:45:01 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-07-06 06:25:22 +0000 |
commit | 0d70a5cc6ebb22d243a4686314aecf89ca8d78e1 (patch) | |
tree | 31d9764dc31c8f6589cebe914bb8edb3ef8ada2a /reporting/pages/app/index.html | |
parent | 1da5990f3e25c375757349b30b4f47d288775682 (diff) |
Reporting docker deployment improvement
In the patch, I make build pages(landing page ...),
when docker build, when run a container, we can set
the api url(default:testresults.opnfv.org/reporting2) by -e;
For example:
1. In testresults.opnfv.org:
docker run -itd -p 8888:8000 -p 80:80 opnfv/reporting:tag
visit: http://testresults.opnfv.org/reporting2/reporting/index.html
2. Personal use:
docker run -itd -p 8888:8000 -p 80:80 -e SERVER_URL=192.168.131.2:8888 opnfv/reporting:tag
visit: http://192.168.131.2:8888/reporting/index.html
Change-Id: Ib838c12e785151acf9852f25eab254aedc520a1d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'reporting/pages/app/index.html')
-rw-r--r-- | reporting/pages/app/index.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/reporting/pages/app/index.html b/reporting/pages/app/index.html index f4eb65a..843a623 100644 --- a/reporting/pages/app/index.html +++ b/reporting/pages/app/index.html @@ -87,10 +87,9 @@ <script src="scripts/controllers/auth.controller.js"></script> <script src="scripts/controllers/admin.controller.js"></script> <script src="scripts/controllers/main.controller.js"></script> - <script src="scripts/app.config.js"></script> <script src="scripts/controllers/testvisual.controller.js"></script> <!-- endbuild --> </body> -</html>
\ No newline at end of file +</html> |