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 | 993f8e7c8dfc84b6694faf50d1e9ddb4555919d7 (patch) | |
tree | 6346ae3f954e0c89ec19e415b8f1a82649e4f13a /.gitreview | |
parent | 4c0f6bcadfb6b323505a6dfa719eca3832a6f127 (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 '.gitreview')
0 files changed, 0 insertions, 0 deletions