Pre Merge pull request !432 from mpaster/springboot3_dev_PR
commit
4cd6901080
|
|
@ -1,12 +1,20 @@
|
||||||
version : '3.8'
|
version : '3.8'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
ruoyi-net:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ruoyi-nacos:
|
ruoyi-nacos:
|
||||||
container_name: ruoyi-nacos
|
container_name: ruoyi-nacos
|
||||||
image: nacos/nacos-server
|
image: nacos/nacos-server:3.0.2
|
||||||
build:
|
build:
|
||||||
context: ./nacos
|
context: ./nacos
|
||||||
environment:
|
environment:
|
||||||
- MODE=standalone
|
- MODE=standalone
|
||||||
|
- NACOS_AUTH_TOKEN=rO0ABXNyABNqYXZhLnV0aWwuQmFzZTY0dPTZ3QE+Kk1T6mN8X0YpV3kQ7ZbJ5A==
|
||||||
|
- NACOS_AUTH_IDENTITY_KEY=serverIdentity
|
||||||
|
- NACOS_AUTH_IDENTITY_VALUE=security
|
||||||
volumes:
|
volumes:
|
||||||
- ./nacos/logs/:/home/nacos/logs
|
- ./nacos/logs/:/home/nacos/logs
|
||||||
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
||||||
|
|
@ -14,8 +22,11 @@ services:
|
||||||
- "8848:8848"
|
- "8848:8848"
|
||||||
- "9848:9848"
|
- "9848:9848"
|
||||||
- "9849:9849"
|
- "9849:9849"
|
||||||
|
- "8888:8080"
|
||||||
depends_on:
|
depends_on:
|
||||||
- ruoyi-mysql
|
- ruoyi-mysql
|
||||||
|
networks:
|
||||||
|
- ruoyi-net
|
||||||
ruoyi-mysql:
|
ruoyi-mysql:
|
||||||
container_name: ruoyi-mysql
|
container_name: ruoyi-mysql
|
||||||
image: mysql:5.7
|
image: mysql:5.7
|
||||||
|
|
@ -38,6 +49,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: 'ry-cloud'
|
MYSQL_DATABASE: 'ry-cloud'
|
||||||
MYSQL_ROOT_PASSWORD: password
|
MYSQL_ROOT_PASSWORD: password
|
||||||
|
networks:
|
||||||
|
- ruoyi-net
|
||||||
ruoyi-redis:
|
ruoyi-redis:
|
||||||
container_name: ruoyi-redis
|
container_name: ruoyi-redis
|
||||||
image: redis
|
image: redis
|
||||||
|
|
@ -49,6 +62,8 @@ services:
|
||||||
- ./redis/conf/redis.conf:/home/ruoyi/redis/redis.conf
|
- ./redis/conf/redis.conf:/home/ruoyi/redis/redis.conf
|
||||||
- ./redis/data:/data
|
- ./redis/data:/data
|
||||||
command: redis-server /home/ruoyi/redis/redis.conf
|
command: redis-server /home/ruoyi/redis/redis.conf
|
||||||
|
networks:
|
||||||
|
- ruoyi-net
|
||||||
ruoyi-nginx:
|
ruoyi-nginx:
|
||||||
container_name: ruoyi-nginx
|
container_name: ruoyi-nginx
|
||||||
image: nginx
|
image: nginx
|
||||||
|
|
@ -63,8 +78,8 @@ services:
|
||||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
- ./nginx/conf.d:/etc/nginx/conf.d
|
||||||
depends_on:
|
depends_on:
|
||||||
- ruoyi-gateway
|
- ruoyi-gateway
|
||||||
links:
|
networks:
|
||||||
- ruoyi-gateway
|
- ruoyi-net
|
||||||
ruoyi-gateway:
|
ruoyi-gateway:
|
||||||
container_name: ruoyi-gateway
|
container_name: ruoyi-gateway
|
||||||
build:
|
build:
|
||||||
|
|
@ -74,8 +89,9 @@ services:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
depends_on:
|
depends_on:
|
||||||
- ruoyi-redis
|
- ruoyi-redis
|
||||||
links:
|
- ruoyi-nacos
|
||||||
- ruoyi-redis
|
networks:
|
||||||
|
- ruoyi-net
|
||||||
ruoyi-auth:
|
ruoyi-auth:
|
||||||
container_name: ruoyi-auth
|
container_name: ruoyi-auth
|
||||||
build:
|
build:
|
||||||
|
|
@ -85,8 +101,9 @@ services:
|
||||||
- "9200:9200"
|
- "9200:9200"
|
||||||
depends_on:
|
depends_on:
|
||||||
- ruoyi-redis
|
- ruoyi-redis
|
||||||
links:
|
- ruoyi-nacos
|
||||||
- ruoyi-redis
|
networks:
|
||||||
|
- ruoyi-net
|
||||||
ruoyi-modules-system:
|
ruoyi-modules-system:
|
||||||
container_name: ruoyi-modules-system
|
container_name: ruoyi-modules-system
|
||||||
build:
|
build:
|
||||||
|
|
@ -96,10 +113,10 @@ services:
|
||||||
- "9201:9201"
|
- "9201:9201"
|
||||||
depends_on:
|
depends_on:
|
||||||
- ruoyi-redis
|
- ruoyi-redis
|
||||||
|
- ruoyi-nacos
|
||||||
- ruoyi-mysql
|
- ruoyi-mysql
|
||||||
links:
|
networks:
|
||||||
- ruoyi-redis
|
- ruoyi-net
|
||||||
- ruoyi-mysql
|
|
||||||
ruoyi-modules-gen:
|
ruoyi-modules-gen:
|
||||||
container_name: ruoyi-modules-gen
|
container_name: ruoyi-modules-gen
|
||||||
build:
|
build:
|
||||||
|
|
@ -109,8 +126,8 @@ services:
|
||||||
- "9202:9202"
|
- "9202:9202"
|
||||||
depends_on:
|
depends_on:
|
||||||
- ruoyi-mysql
|
- ruoyi-mysql
|
||||||
links:
|
networks:
|
||||||
- ruoyi-mysql
|
- ruoyi-net
|
||||||
ruoyi-modules-job:
|
ruoyi-modules-job:
|
||||||
container_name: ruoyi-modules-job
|
container_name: ruoyi-modules-job
|
||||||
build:
|
build:
|
||||||
|
|
@ -120,8 +137,8 @@ services:
|
||||||
- "9203:9203"
|
- "9203:9203"
|
||||||
depends_on:
|
depends_on:
|
||||||
- ruoyi-mysql
|
- ruoyi-mysql
|
||||||
links:
|
networks:
|
||||||
- ruoyi-mysql
|
- ruoyi-net
|
||||||
ruoyi-modules-file:
|
ruoyi-modules-file:
|
||||||
container_name: ruoyi-modules-file
|
container_name: ruoyi-modules-file
|
||||||
build:
|
build:
|
||||||
|
|
@ -131,6 +148,8 @@ services:
|
||||||
- "9300:9300"
|
- "9300:9300"
|
||||||
volumes:
|
volumes:
|
||||||
- ./ruoyi/uploadPath:/home/ruoyi/uploadPath
|
- ./ruoyi/uploadPath:/home/ruoyi/uploadPath
|
||||||
|
networks:
|
||||||
|
- ruoyi-net
|
||||||
ruoyi-visual-monitor:
|
ruoyi-visual-monitor:
|
||||||
container_name: ruoyi-visual-monitor
|
container_name: ruoyi-visual-monitor
|
||||||
build:
|
build:
|
||||||
|
|
@ -138,3 +157,5 @@ services:
|
||||||
dockerfile: dockerfile
|
dockerfile: dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "9100:9100"
|
- "9100:9100"
|
||||||
|
networks:
|
||||||
|
- ruoyi-net
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,8 @@ nacos.security.ignore.urls=/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/
|
||||||
|
|
||||||
nacos.core.auth.system.type=nacos
|
nacos.core.auth.system.type=nacos
|
||||||
nacos.core.auth.enabled=false
|
nacos.core.auth.enabled=false
|
||||||
nacos.core.auth.default.token.expire.seconds=18000
|
nacos.core.auth.plugin.nacos.token.expire.seconds=18000
|
||||||
nacos.core.auth.default.token.secret.key=SecretKey012345678901234567890123456789012345678901234567890123456789
|
nacos.core.auth.plugin.nacos.token.secret.key=rO0ABXNyABNqYXZhLnV0aWwuQmFzZTY0dPTZ3QE+Kk1T6mN8X0YpV3kQ7ZbJ5A==
|
||||||
nacos.core.auth.caching.enabled=true
|
nacos.core.auth.caching.enabled=true
|
||||||
nacos.core.auth.enable.userAgentAuthWhite=false
|
nacos.core.auth.enable.userAgentAuthWhite=false
|
||||||
nacos.core.auth.server.identity.key=serverIdentity
|
nacos.core.auth.server.identity.key=serverIdentity
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:17-jdk-slim
|
||||||
# author
|
# author
|
||||||
MAINTAINER ruoyi
|
MAINTAINER ruoyi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 基础镜像
|
# 基础镜像(openjdk:17-jdk-slim不包含验证码所需的字体)
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:17-jdk
|
||||||
# author
|
# author
|
||||||
MAINTAINER ruoyi
|
MAINTAINER ruoyi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:17-jdk-slim
|
||||||
# author
|
# author
|
||||||
MAINTAINER ruoyi
|
MAINTAINER ruoyi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:17-jdk-slim
|
||||||
# author
|
# author
|
||||||
MAINTAINER ruoyi
|
MAINTAINER ruoyi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:17-jdk-slim
|
||||||
# author
|
# author
|
||||||
MAINTAINER ruoyi
|
MAINTAINER ruoyi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:17-jdk-slim
|
||||||
# author
|
# author
|
||||||
MAINTAINER ruoyi
|
MAINTAINER ruoyi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM openjdk:8-jre
|
FROM openjdk:17-jdk-slim
|
||||||
# author
|
# author
|
||||||
MAINTAINER ruoyi
|
MAINTAINER ruoyi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,10 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,10 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
@ -33,7 +33,7 @@ spring:
|
||||||
datasource:
|
datasource:
|
||||||
ds1:
|
ds1:
|
||||||
nacos:
|
nacos:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
dataId: sentinel-ruoyi-gateway
|
dataId: sentinel-ruoyi-gateway
|
||||||
groupId: DEFAULT_GROUP
|
groupId: DEFAULT_GROUP
|
||||||
data-type: json
|
data-type: json
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,10 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: ruoyi-nacos:8848
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@
|
||||||
<if test="visible != null">visible = #{visible},</if>
|
<if test="visible != null">visible = #{visible},</if>
|
||||||
<if test="status != null">status = #{status},</if>
|
<if test="status != null">status = #{status},</if>
|
||||||
<if test="perms !=null">perms = #{perms},</if>
|
<if test="perms !=null">perms = #{perms},</if>
|
||||||
<if test="icon !=null and icon != ''">icon = #{icon},</if>
|
icon = #{icon},
|
||||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||||
update_time = sysdate()
|
update_time = sysdate()
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@
|
||||||
@show="$refs['iconSelect'].reset()"
|
@show="$refs['iconSelect'].reset()"
|
||||||
>
|
>
|
||||||
<IconSelect ref="iconSelect" @selected="selected" :active-icon="form.icon" />
|
<IconSelect ref="iconSelect" @selected="selected" :active-icon="form.icon" />
|
||||||
<el-input slot="reference" v-model="form.icon" placeholder="点击选择图标" readonly>
|
<el-input slot="reference" v-model="form.icon" placeholder="点击选择图标" clearable>
|
||||||
<svg-icon
|
<svg-icon
|
||||||
v-if="form.icon"
|
v-if="form.icon"
|
||||||
slot="prefix"
|
slot="prefix"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue