Merge "Set the port of S3_URL to 8080 with swift3 enabled"
diff --git a/stack.sh b/stack.sh
index 1ac5c8b..3309365 100755
--- a/stack.sh
+++ b/stack.sh
@@ -595,8 +595,10 @@
     install_swift
     configure_swift
 
+    # swift3 middleware to provide S3 emulation to Swift
     if is_service_enabled swift3; then
-        # swift3 middleware to provide S3 emulation to Swift
+        # replace the nova-objectstore port by the swift port
+        S3_SERVICE_PORT=8080
         git_clone $SWIFT3_REPO $SWIFT3_DIR $SWIFT3_BRANCH
         setup_develop $SWIFT3_DIR
     fi