Skip to content

Commit

Permalink
Update portal port
Browse files Browse the repository at this point in the history
  • Loading branch information
yiming187 committed May 17, 2016
1 parent 0702ffc commit f562a85
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public static void main(String[] args) throws Exception {

/**
* Portal
*
* WARNING: Do not start portal at the same pool as configservice, they will conflict on 8080
*/
if (commonContext.getEnvironment().containsProperty("portal")) {
ConfigurableApplicationContext portalContext =
Expand Down
2 changes: 1 addition & 1 deletion apollo-assembly/src/main/scripts/services.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
SERVICES='--configservice --adminservice --portal'
SERVICES='--configservice --adminservice'
2 changes: 2 additions & 0 deletions apollo-buildtools/src/main/scripts/deploy_jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ APP_SHUTDOWN_SCRIPT=$APP_DIR/scripts/shutdown.sh
chmod +x $APP_SHUTDOWN_SCRIPT
if [ -e $APP_STARTUP_SCRIPT ];then
$APP_SHUTDOWN_SCRIPT
echo "Sleeping 5s to wait shutting down"
sleep 5s
fi

mkdir -p $APP_RELEASE_DIR
Expand Down
2 changes: 1 addition & 1 deletion apollo-portal/src/main/resources/portal.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring.application.name= apollo-portal
apollo.portal.env= dev,fat,uat
ctrip.appid= 100003173
server.port= 8070
server.port= 8080
logging.file= /opt/logs/100003173/apollo-portal.log

0 comments on commit f562a85

Please sign in to comment.