diff options
author | blsaws <bryan.sullivan@att.com> | 2016-06-14 14:53:03 -0700 |
---|---|---|
committer | blsaws <bryan.sullivan@att.com> | 2016-06-14 14:53:03 -0700 |
commit | b7b1bd47abaca60c3ea14016c5d333d5acd7d78f (patch) | |
tree | 6faab87e42724bad67e985c9edf962522692d687 /components | |
parent | 6c56861d339035ef5399b0839262b0285721d45c (diff) |
Fix server port
JIRA: COPPER-4
Change-Id: I81c8ec398876a2bbb38ffeb2ffbb2da898a494b2
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'components')
-rwxr-xr-x | components/congress/test-webapp/setup/clean_congress_testserver.sh | 2 | ||||
-rw-r--r-- | components/congress/test-webapp/setup/install_congress_testserver.sh | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/components/congress/test-webapp/setup/clean_congress_testserver.sh b/components/congress/test-webapp/setup/clean_congress_testserver.sh index e23bcbd..fb033e9 100755 --- a/components/congress/test-webapp/setup/clean_congress_testserver.sh +++ b/components/congress/test-webapp/setup/clean_congress_testserver.sh @@ -30,5 +30,5 @@ sudo docker stop $CID echo "Remove copper-webapp container" sudo docker rm $CID # Use this if the server is not running -# docker rm `docker ps -aq` +# sudo docker rm `docker ps -aq` set +x diff --git a/components/congress/test-webapp/setup/install_congress_testserver.sh b/components/congress/test-webapp/setup/install_congress_testserver.sh index 7826007..78c0256 100644 --- a/components/congress/test-webapp/setup/install_congress_testserver.sh +++ b/components/congress/test-webapp/setup/install_congress_testserver.sh @@ -87,7 +87,6 @@ if [ ! -d /tmp/copper/log ]; then mkdir /tmp/copper/log chmod 777 /tmp/copper/log fi -source /tmp/copper/env.sh echo "Point proxy.php to the Congress server" sed -i -- "s/CONGRESS_HOST/$CONGRESS_HOST/g" /tmp/copper/copper/components/congress/test-webapp/www/proxy/index.php @@ -98,7 +97,7 @@ sed -i -- "s/OS_PASSWORD/$OS_PASSWORD/g" /tmp/copper/copper/components/congress/ echo "Start webapp container" sudo docker build -t copper-webapp /tmp/copper/copper/components/congress/test-webapp/ -CID=$(sudo docker run -v /tmp/copper/log:/tmp -p 8080:80 -d copper-webapp) +CID=$(sudo docker run -v /tmp/copper/log:/tmp -p 8257:80 -d copper-webapp) CIP=$(sudo docker inspect $CID | grep IPAddress | cut -d '"' -f 4 | tail -1) echo "Copper Webapp IP address: $CIP" |