Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
97c078c4
Commit
97c078c4
authored
Mar 02, 2021
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker-compose 微服务模式脚步优化
parent
17019e62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
19 deletions
+20
-19
jeecg-boot/jeecg-cloud-module/docker-compose.yml
+18
-17
jeecg-boot/jeecg-cloud-module/jeecg-cloud-system-start/Dockerfile
+2
-2
No files found.
jeecg-boot/jeecg-cloud-module/docker-compose.yml
View file @
97c078c4
...
@@ -26,15 +26,6 @@ services:
...
@@ -26,15 +26,6 @@ services:
restart
:
always
restart
:
always
container_name
:
jeecg-boot-redis
container_name
:
jeecg-boot-redis
hostname
:
jeecg-boot-redis
hostname
:
jeecg-boot-redis
jeecg-boot-rabbitmq
:
# image: rabbitmq:3-management
image
:
rabbitmq:3
ports
:
-
5672:5672
# - 15672:15672
restart
:
always
container_name
:
jeecg-boot-rabbitmq
hostname
:
jeecg-boot-rabbitmq
jeecg-boot-nacos
:
jeecg-boot-nacos
:
restart
:
always
restart
:
always
...
@@ -67,10 +58,20 @@ services:
...
@@ -67,10 +58,20 @@ services:
environment
:
environment
:
-
TZ=Asia/Shanghai
-
TZ=Asia/Shanghai
jeecg-boot-xxljob
:
# jeecg-boot-rabbitmq:
build
:
# # image: rabbitmq:3-management
context
:
./jeecg-cloud-xxljob
# image: rabbitmq:3
ports
:
# ports:
-
9080:9080
# - 5672:5672
container_name
:
jeecg-boot-xxljob
# # - 15672:15672
hostname
:
jeecg-boot-xxljob
# restart: always
\ No newline at end of file
# container_name: jeecg-boot-rabbitmq
# hostname: jeecg-boot-rabbitmq
# jeecg-boot-xxljob:
# build:
# context: ./jeecg-cloud-xxljob
# ports:
# - 9080:9080
# container_name: jeecg-boot-xxljob
# hostname: jeecg-boot-xxljob
\ No newline at end of file
jeecg-boot/jeecg-cloud-module/jeecg-cloud-system-start/Dockerfile
View file @
97c078c4
...
@@ -12,5 +12,4 @@ EXPOSE 7001
...
@@ -12,5 +12,4 @@ EXPOSE 7001
ADD
./target/jeecg-cloud-system-start-2.4.2.jar ./
ADD
./target/jeecg-cloud-system-start-2.4.2.jar ./
CMD
java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-system-start-2.4.2.jar
CMD
sleep 60;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-system-start-2.4.2.jar
\ 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