提交 97c078c4 编写于 作者: JEECG低代码平台's avatar JEECG低代码平台

docker-compose 微服务模式脚步优化

上级 17019e62
......@@ -26,15 +26,6 @@ services:
restart: always
container_name: 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:
restart: always
......@@ -67,10 +58,20 @@ services:
environment:
- TZ=Asia/Shanghai
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-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-xxljob:
# build:
# context: ./jeecg-cloud-xxljob
# ports:
# - 9080:9080
# container_name: jeecg-boot-xxljob
# hostname: jeecg-boot-xxljob
\ No newline at end of file
......@@ -12,5 +12,4 @@ EXPOSE 7001
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册