Changed port for TAP to be 8010

Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/commit/d893a73d
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/tree/d893a73d
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/diff/d893a73d

Branch: refs/heads/tapdocker
Commit: d893a73d4d853b7a1f41bdbba3b429b4c2967f33
Parents: 40db152
Author: Arthi Vezhavendan <arthi...@gmail.com>
Authored: Tue Aug 8 22:36:26 2017 -0400
Committer: Arthi Vezhavendan <arthi...@gmail.com>
Committed: Tue Aug 8 22:36:26 2017 -0400

----------------------------------------------------------------------
 Dockerfile                      | 2 +-
 docker-compose.yml              | 2 +-
 docker/tap/wait-for-postgres.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/d893a73d/Dockerfile
----------------------------------------------------------------------
diff --git a/Dockerfile b/Dockerfile
index 5f73af0..0c285e3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -59,4 +59,4 @@ RUN chmod +x /usr/src/app/wait-for-postgres.sh
 RUN gulp build
 
 # Export port
-EXPOSE 8000
+EXPOSE 8010

http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/d893a73d/docker-compose.yml
----------------------------------------------------------------------
diff --git a/docker-compose.yml b/docker-compose.yml
index 510539b..5fca320 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -27,7 +27,7 @@ services:
     build: .
     command: bash -c "/usr/src/app/wait-for-postgres.sh"
     ports:
-      - "8000:8000"
+      - "8010:8010"
     depends_on:
       - db
     links:

http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/d893a73d/docker/tap/wait-for-postgres.sh
----------------------------------------------------------------------
diff --git a/docker/tap/wait-for-postgres.sh b/docker/tap/wait-for-postgres.sh
index 96084c7..0be446d 100644
--- a/docker/tap/wait-for-postgres.sh
+++ b/docker/tap/wait-for-postgres.sh
@@ -20,7 +20,7 @@ sleep $delay
 n=0
 until [ $n -ge 3 ]
 do
-  python manage.py migrate && python manage.py runserver 0.0.0.0:8000 && break
+  python manage.py migrate && python manage.py runserver 0.0.0.0:8010 && break
   echo "Retrying connection in $delay seconds..."
   n=$[$n+1]
   sleep 2

Reply via email to