Commit f562a85f by Yiming Liu

Update portal port

parent 0702ffc7
...@@ -51,6 +51,8 @@ public class ApolloApplication { ...@@ -51,6 +51,8 @@ public class ApolloApplication {
/** /**
* Portal * Portal
*
* WARNING: Do not start portal at the same pool as configservice, they will conflict on 8080
*/ */
if (commonContext.getEnvironment().containsProperty("portal")) { if (commonContext.getEnvironment().containsProperty("portal")) {
ConfigurableApplicationContext portalContext = ConfigurableApplicationContext portalContext =
......
#!/bin/bash #!/bin/bash
SERVICES='--configservice --adminservice --portal' SERVICES='--configservice --adminservice'
...@@ -33,6 +33,8 @@ APP_SHUTDOWN_SCRIPT=$APP_DIR/scripts/shutdown.sh ...@@ -33,6 +33,8 @@ APP_SHUTDOWN_SCRIPT=$APP_DIR/scripts/shutdown.sh
chmod +x $APP_SHUTDOWN_SCRIPT chmod +x $APP_SHUTDOWN_SCRIPT
if [ -e $APP_STARTUP_SCRIPT ];then if [ -e $APP_STARTUP_SCRIPT ];then
$APP_SHUTDOWN_SCRIPT $APP_SHUTDOWN_SCRIPT
echo "Sleeping 5s to wait shutting down"
sleep 5s
fi fi
mkdir -p $APP_RELEASE_DIR mkdir -p $APP_RELEASE_DIR
......
spring.application.name= apollo-portal spring.application.name= apollo-portal
apollo.portal.env= dev,fat,uat apollo.portal.env= dev,fat,uat
ctrip.appid= 100003173 ctrip.appid= 100003173
server.port= 8070 server.port= 8080
logging.file= /opt/logs/100003173/apollo-portal.log logging.file= /opt/logs/100003173/apollo-portal.log
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment