Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
I
infrastructure-dev
Project
Project
Details
Activity
Releases
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
common
infrastructure-dev
Commits
23dc44da
Commit
23dc44da
authored
Apr 13, 2018
by
lizhuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image build for eureka-server and config-server
parent
6eeba650
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
4 deletions
+22
-4
.gitignore
.gitignore
+2
-0
Dockerfile
config-server/Dockerfile
+11
-0
docker-compose.yml
docker-compose.yml
+2
-4
Dockerfile
eureka-server/Dockerfile
+7
-0
No files found.
.gitignore
0 → 100644
View file @
23dc44da
/config-server/config-server.jar
/eureka-server/eureka-1.0.0.jar
config-server/Dockerfile
0 → 100644
View file @
23dc44da
FROM
fabric8/java-jboss-openjdk8-jdk:1.4
ENV
JAVA_APP_JAR="app.jar"
ENV
JAVA_MAX_MEM_RATIO=50
ENV
AB_OFF ""
ADD
--chown=jboss:jboss https://pilipa-assets.oss-cn-beijing.aliyuncs.com/soft/config-server.jar /deployments/app.jar
ENV
ENCRYPT_KEY_STORE_PASSWORD=letmein
ENV
ENCRYPT_KEY_STORE_ALIAS=mytestkey
ENV
ENCRYPT_KEY_STORE_SECRET=changeme
docker-compose.yml
View file @
23dc44da
version
:
"
3.3"
services
:
eureka-server
:
image
:
eureka-server
build
:
./
eureka-server
depends_on
:
-
config-server
ports
:
...
...
@@ -13,7 +13,7 @@ services:
networks
:
-
pilipa-dev
config-server
:
image
:
config
server
build
:
./config-
server
ports
:
-
"
8888:8888"
-
"
8889:8889"
...
...
@@ -22,9 +22,7 @@ services:
-
/Users/lz/proj/config-repo:/Users/kane/git/pilipa/config-repo
environment
:
-
JAVA_OPTIONS=-server -XX:-HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/pilipa/ -Duser.timezone=Asia/Hong_Kong
-
JVM_ARGS=
-
spring.rabbitmq.addresses=rabbit:5672
-
spring.profiles.active=development
networks
:
-
pilipa-dev
mongo
:
...
...
eureka-server/Dockerfile
0 → 100644
View file @
23dc44da
FROM
fabric8/java-jboss-openjdk8-jdk:1.4
ENV
JAVA_APP_JAR="app.jar"
ENV
JAVA_MAX_MEM_RATIO=50
ENV
AB_OFF ""
ADD
--chown=jboss:jboss https://pilipa-assets.oss-cn-beijing.aliyuncs.com/soft/eureka-1.0.0.jar /deployments/app.jar
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