feat(商城): 升级至Springboot2.7+

master
wayn 2 years ago
parent 85f47615d3
commit 951d8eccc5

@ -3,64 +3,56 @@ services:
waynboot-mobile-api:
image: ibm-semeru-runtimes:open-17-jdk
container_name: mobile
ports:
- "82"
volumes:
- /etc/localtime:/etc/localtime
- /home/logs:/home/logs
- /opt/wayn/upload:/opt/wayn/upload
- ./jars/waynboot-mobile-api-1.1.0.jar:/home/app/waynboot-mobile-api-1.1.0.jar
- /opt/waynboot-mall/upload:/opt/waynboot-mall/upload
- ./jars/waynboot-mobile-api.jar:/home/app/waynboot-mobile-api.jar
restart: always
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-mobile-api-1.1.0.jar
command: java -Xms512m -Xmx512m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-mobile-api.jar
network_mode: "host"
environment:
- TZ=Asia/Shanghai
- LOG_PATH_PREFIX=/home/logs
- UPLOAD_DIR=/opt/wayn/upload
- UPLOAD_DIR=/opt/waynboot-mall/upload
waynboot-admin-api:
image: ibm-semeru-runtimes:open-17-jdk
container_name: admin
ports:
- "81"
volumes:
- /etc/localtime:/etc/localtime
- /home/logs:/home/logs
- /opt/wayn/upload:/opt/wayn/upload
- ./jars/waynboot-admin-api-1.1.0.jar:/home/app/waynboot-admin-api-1.1.0.jar
- /opt/waynboot-mall/upload:/opt/waynboot-mall/upload
- ./jars/waynboot-admin-api.jar:/home/app/waynboot-admin-api.jar
restart: always
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-admin-api-1.1.0.jar
command: java -Xms512m -Xmx512m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-admin-api.jar
network_mode: "host"
environment:
- TZ=Asia/Shanghai
- LOG_PATH_PREFIX=/home/logs
- UPLOAD_DIR=/opt/wayn/upload
- UPLOAD_DIR=/opt/waynboot-mall/upload
waynboot-message:
image: ibm-semeru-runtimes:open-17-jdk
container_name: message
ports:
- "85"
volumes:
- /etc/localtime:/etc/localtime
- /home/logs:/home/logs
- /opt/wayn/upload:/opt/wayn/upload
- ./jars/waynboot-message-consumer-1.1.0.jar:/home/app/waynboot-message-consumer-1.1.0.jar
- /opt/waynboot-mall/upload:/opt/waynboot-mall/upload
- ./jars/waynboot-message-consumer.jar:/home/app/waynboot-message-consumer.jar
restart: always
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-message-consumer-1.1.0.jar
command: java -Xms512m -Xmx512m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-message-consumer.jar
network_mode: "host"
environment:
- TZ=Asia/Shanghai
- LOG_PATH_PREFIX=/home/logs
- UPLOAD_DIR=/opt/wayn/upload
waynboot-monitor:
image: ibm-semeru-runtimes:open-17-jdk
container_name: monitor
ports:
- "89"
volumes:
- /etc/localtime:/etc/localtime
- ./jars/waynboot-monitor-1.1.0.jar:/home/app/waynboot-monitor-1.1.0.jar
restart: always
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-monitor-1.1.0.jar
network_mode: "host"
environment:
- TZ=Asia/Shanghai
- UPLOAD_DIR=/opt/waynboot-mall/upload
# waynboot-monitor:
# image: ibm-semeru-runtimes:open-17-jdk
# container_name: monitor
# volumes:
# - /etc/localtime:/etc/localtime
# - ./jars/waynboot-monitor.jar:/home/app/waynboot-monitor.jar
# restart: always
# command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-monitor.jar
# network_mode: "host"
# environment:
# - TZ=Asia/Shanghai

@ -62,7 +62,7 @@ http {
#enables WS support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrad
proxy_set_header Connection "upgrade";
}
location /admin-api/ {

@ -2,7 +2,7 @@
waynboot-mall是一套全部开源的微商城项目包含一个运营后台、h5商城和后台接口。
实现了一个商城所需的首页展示、商品分类、商品详情、sku详情、商品搜索、加入购物车、结算下单、订单状态流转、商品评论等一系列功能。
技术上基于Springboot2.0整合了Redis、RabbitMQ、ElasticSearch等常用中间件
技术上基于Springboot2.7+,jdk17整合了Redis、RabbitMQ、ElasticSearch等常用中间件
贴近生产环境实际经验开发而来不断完善、优化、改进中。
[h5商城项目](https://github.com/wayn111/waynboot-mobile)
@ -396,7 +396,7 @@ h5商城api:
- 注册一个账号
- 然后登陆
演示地址http://82.157.141.70/mall
演示地址http://mall.wayn.xin/mall
## 演示图

@ -53,5 +53,6 @@
</executions>
</plugin>
</plugins>
<finalName>waynboot-monitor</finalName>
</build>
</project>

Loading…
Cancel
Save