代码拉取完成,页面将自动刷新
#该微应用全部微服务docker部署脚本
#清理docker镜像命令:docker rmi $(docker images -a | awk '/^<none>/ { print $3 }')
#清理docker临时镜像命令:docker rmi $(docker images -f "dangling=true" -q)
#清理docker容器命令:docker rm $(docker ps -a -q)
#启动mongodb命令:docker run -p 27017:27017 -v $PWD/db:/data/db -d --name mongo-server --net host mongo:latest
version: "2"
services:
#启动admin
boot-admin:
restart: always
image: reg1.syswin.com/accumulation/accumulation-admin-server:1.0.0
ports:
- "4000:4000"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动网关
api-gateway:
restart: always
image: reg1.syswin.com/accumulation/accumulation-api-gateway:1.0.0
ports:
- "5000:5000"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动业务逻辑层
business-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-business-layer:1.0.0
ports:
- "6001:6001"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动缓存层
cache-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-cache-layer:1.0.0
ports:
- "7001:7001"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动sso层
sso-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-sso-layer:1.0.0
ports:
- "7002:7002"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动消息队列层
message-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-message-layer:1.0.0
ports:
- "7003:7003"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动数据库层
database-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-database-layer:1.0.0
ports:
- "7004:7004"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动自定义注解层
myself-annotation:
restart: always
image: reg1.syswin.com/accumulation/accumulation-myself-annotation:1.0.0
ports:
- "7005:7005"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动websocket层
websocket-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-websocket-layer:1.0.0
ports:
- "7006:7006"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动graphic-verification层
graphic-verification-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-graphic-verification-layer:1.0.0
ports:
- "7007:7007"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动data-dictionary层
data-dictionary-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-data-dictionary-layer:1.0.0
ports:
- "7008:7008"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动distribution-file层
distribution-file-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-distribution-file-layer:1.0.0
ports:
- "7009:7009"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动personal-cockpit层
personal-cockpit-layer:
restart: always
image: reg1.syswin.com/accumulation/accumulation-personal-cockpit-layer:1.0.0
ports:
- "7010:7010"
network_mode: host
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
#启动elasticsearch层
elasticsearch:
restart: always
image: reg1.syswin.com/accumulation/accumulation-elasticsearch:1.0.0
ports:
- "7011:7011"
network_mode: host
volumes:
- /root/document:/root/document
environment:
- JAVA_OPTS=-Xms128m -Xmx256m
- PROFILES_ACTIVE=-Dspring.profiles.active=dev
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。