Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
f562a85f
Commit
f562a85f
authored
May 17, 2016
by
Yiming Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update portal port
parent
0702ffc7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
ApolloApplication.java
...ain/java/com/ctrip/apollo/assembly/ApolloApplication.java
+2
-0
services.sh
apollo-assembly/src/main/scripts/services.sh
+1
-1
deploy_jenkins.sh
apollo-buildtools/src/main/scripts/deploy_jenkins.sh
+2
-0
portal.properties
apollo-portal/src/main/resources/portal.properties
+2
-1
No files found.
apollo-assembly/src/main/java/com/ctrip/apollo/assembly/ApolloApplication.java
View file @
f562a85f
...
...
@@ -51,6 +51,8 @@ public class ApolloApplication {
/**
* Portal
*
* WARNING: Do not start portal at the same pool as configservice, they will conflict on 8080
*/
if
(
commonContext
.
getEnvironment
().
containsProperty
(
"portal"
))
{
ConfigurableApplicationContext
portalContext
=
...
...
apollo-assembly/src/main/scripts/services.sh
View file @
f562a85f
#!/bin/bash
SERVICES
=
'--configservice --adminservice
--portal
'
SERVICES
=
'--configservice --adminservice'
apollo-buildtools/src/main/scripts/deploy_jenkins.sh
View file @
f562a85f
...
...
@@ -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
...
...
apollo-portal/src/main/resources/portal.properties
View file @
f562a85f
spring.application.name
=
apollo-portal
apollo.portal.env
=
dev,fat,uat
ctrip.appid
=
100003173
server.port
=
80
7
0
server.port
=
80
8
0
logging.file
=
/opt/logs/100003173/apollo-portal.log
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment