Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apollo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
apollo
Commits
d42331e6
Unverified
Commit
d42331e6
authored
Oct 01, 2019
by
Jason Song
Committed by
GitHub
Oct 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docker run sample (#2628)
parent
d3a5050e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
6 deletions
+3
-6
apollo-adminservice/src/main/docker/Dockerfile
apollo-adminservice/src/main/docker/Dockerfile
+1
-1
apollo-adminservice/src/main/scripts/startup.sh
apollo-adminservice/src/main/scripts/startup.sh
+0
-1
apollo-configservice/src/main/docker/Dockerfile
apollo-configservice/src/main/docker/Dockerfile
+1
-1
apollo-configservice/src/main/scripts/startup.sh
apollo-configservice/src/main/scripts/startup.sh
+0
-1
apollo-portal/src/main/docker/Dockerfile
apollo-portal/src/main/docker/Dockerfile
+1
-1
apollo-portal/src/main/scripts/startup.sh
apollo-portal/src/main/scripts/startup.sh
+0
-1
No files found.
apollo-adminservice/src/main/docker/Dockerfile
View file @
d42331e6
# Dockerfile for apollo-adminservice
# Dockerfile for apollo-adminservice
# 1. Copy apollo-adminservice-${VERSION}-github.zip to current directory
# 1. Copy apollo-adminservice-${VERSION}-github.zip to current directory
# 2. Build with: docker build -t apollo-adminservice .
# 2. Build with: docker build -t apollo-adminservice .
# 3. Run with: docker run -p 8090:8090 -d -v /tmp/logs:/opt/logs --name apollo-adminservice apollo-adminservice
# 3. Run with: docker run -p 8090:8090 -
e DS_URL="jdbc:mysql://fill-in-the-correct-server:3306/ApolloConfigDB?characterEncoding=utf8" -e DS_USERNAME=FillInCorrectUser -e DS_PASSWORD=FillInCorrectPassword -
d -v /tmp/logs:/opt/logs --name apollo-adminservice apollo-adminservice
FROM
openjdk:8-jre-alpine
FROM
openjdk:8-jre-alpine
MAINTAINER
ameizi <sxyx2008@163.com>
MAINTAINER
ameizi <sxyx2008@163.com>
...
...
apollo-adminservice/src/main/scripts/startup.sh
View file @
d42331e6
...
@@ -3,7 +3,6 @@ SERVICE_NAME=apollo-adminservice
...
@@ -3,7 +3,6 @@ SERVICE_NAME=apollo-adminservice
## Adjust log dir if necessary
## Adjust log dir if necessary
LOG_DIR
=
/opt/logs/100003172
LOG_DIR
=
/opt/logs/100003172
## Adjust server port if necessary
## Adjust server port if necessary
#SERVER_PORT=8090
SERVER_PORT
=
${
SERVER_PORT
:
=8090
}
SERVER_PORT
=
${
SERVER_PORT
:
=8090
}
## Create log directory if not existed because JDK 8+ won't do that
## Create log directory if not existed because JDK 8+ won't do that
...
...
apollo-configservice/src/main/docker/Dockerfile
View file @
d42331e6
# Dockerfile for apollo-configservice
# Dockerfile for apollo-configservice
# 1. Copy apollo-configservice-${VERSION}-github.zip to current directory
# 1. Copy apollo-configservice-${VERSION}-github.zip to current directory
# 2. Build with: docker build -t apollo-configservice .
# 2. Build with: docker build -t apollo-configservice .
# 3. Run with: docker run -p 8080:8080 -d -v /tmp/logs:/opt/logs --name apollo-configservice apollo-configservice
# 3. Run with: docker run -p 8080:8080 -
e DS_URL="jdbc:mysql://fill-in-the-correct-server:3306/ApolloConfigDB?characterEncoding=utf8" -e DS_USERNAME=FillInCorrectUser -e DS_PASSWORD=FillInCorrectPassword -
d -v /tmp/logs:/opt/logs --name apollo-configservice apollo-configservice
FROM
openjdk:8-jre-alpine
FROM
openjdk:8-jre-alpine
MAINTAINER
ameizi <sxyx2008@163.com>
MAINTAINER
ameizi <sxyx2008@163.com>
...
...
apollo-configservice/src/main/scripts/startup.sh
View file @
d42331e6
...
@@ -3,7 +3,6 @@ SERVICE_NAME=apollo-configservice
...
@@ -3,7 +3,6 @@ SERVICE_NAME=apollo-configservice
## Adjust log dir if necessary
## Adjust log dir if necessary
LOG_DIR
=
/opt/logs/100003171
LOG_DIR
=
/opt/logs/100003171
## Adjust server port if necessary
## Adjust server port if necessary
#SERVER_PORT=8080
SERVER_PORT
=
${
SERVER_PORT
:
=8080
}
SERVER_PORT
=
${
SERVER_PORT
:
=8080
}
## Create log directory if not existed because JDK 8+ won't do that
## Create log directory if not existed because JDK 8+ won't do that
...
...
apollo-portal/src/main/docker/Dockerfile
View file @
d42331e6
# Dockerfile for apollo-portal
# Dockerfile for apollo-portal
# 1. Copy apollo-portal-${VERSION}-github.zip to current directory
# 1. Copy apollo-portal-${VERSION}-github.zip to current directory
# 2. Build with: docker build -t apollo-portal .
# 2. Build with: docker build -t apollo-portal .
# 3. Run with: docker run -p 8070:8070 -d -v /tmp/logs:/opt/logs --name apollo-portal apollo-portal
# 3. Run with: docker run -p 8070:8070 -
e DS_URL="jdbc:mysql://fill-in-the-correct-server:3306/ApolloPortalDB?characterEncoding=utf8" -e DS_USERNAME=FillInCorrectUser -e DS_PASSWORD=FillInCorrectPassword -e DEV_META=http://fill-in-dev-meta-server:8080 -e PRO_META=http://fill-in-pro-meta-server:8080 -
d -v /tmp/logs:/opt/logs --name apollo-portal apollo-portal
FROM
openjdk:8-jre-alpine
FROM
openjdk:8-jre-alpine
MAINTAINER
ameizi <sxyx2008@163.com>
MAINTAINER
ameizi <sxyx2008@163.com>
...
...
apollo-portal/src/main/scripts/startup.sh
View file @
d42331e6
...
@@ -3,7 +3,6 @@ SERVICE_NAME=apollo-portal
...
@@ -3,7 +3,6 @@ SERVICE_NAME=apollo-portal
## Adjust log dir if necessary
## Adjust log dir if necessary
LOG_DIR
=
/opt/logs/100003173
LOG_DIR
=
/opt/logs/100003173
## Adjust server port if necessary
## Adjust server port if necessary
#SERVER_PORT=8070
SERVER_PORT
=
${
SERVER_PORT
:
=8070
}
SERVER_PORT
=
${
SERVER_PORT
:
=8070
}
## Create log directory if not existed because JDK 8+ won't do that
## Create log directory if not existed because JDK 8+ won't do that
...
...
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