summaryrefslogtreecommitdiffstats
path: root/testapi/docker/Dockerfile
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-02-24 15:08:41 +0800
committerAric Gardner <agardner@linuxfoundation.org>2017-02-24 21:44:09 +0000
commit105fcee68c3a74e7edde9f8d7fd7846d9aedc253 (patch)
tree6e7ca50852a56d0eeebe45b9dafbdcb9e285e589 /testapi/docker/Dockerfile
parent12b368fad4b5bffa1349be57231f7278d24fd6b0 (diff)
fix internal port of TestAPI
There are too many parameters when starting TestAPI container, it will confuse the user. I learned that docker containers like Jenkins and mongo the internal port is fixed, the user only need to change the exposed port, so the same strategy is adopted here Change-Id: I59424f5a1f36945d906975a741b631019fcbd46d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/docker/Dockerfile')
-rw-r--r--testapi/docker/Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/testapi/docker/Dockerfile b/testapi/docker/Dockerfile
index 86513e0..e031e19 100644
--- a/testapi/docker/Dockerfile
+++ b/testapi/docker/Dockerfile
@@ -8,13 +8,12 @@
# $ docker build -t opnfv/testapi:tag .
#
# Execution:
-# $ docker run -dti -p 8000:8000 \
-# -e "swagger_url=http://10.63.243.17:8000" \
+# $ docker run -dti -p 8001:8000 \
+# -e "swagger_url=http://10.63.243.17:8001" \
# -e "mongodb_url=mongodb://10.63.243.17:27017/" \
-# -e "api_port=8000"
# opnfv/testapi:tag
#
-# NOTE: providing swagger_url, api_port, mongodb_url is optional.
+# NOTE: providing swagger_url, mongodb_url is optional.
# If not provided, it will use the default one
# configured in config.ini
#