application.yml
#工程访问配置server: port: 8081 servlet: context-path: /lcdp#spring环境配置spring: profiles: # 运行环境 dev|test|prod,根据active动态加载application-active.yml配置文件 # 切换数据库时,注意下面的-xxx 也修改为对应的数据库(mysql、oracle、pg) active: dev include: base,druid-mysql,mybatis-plus-mysql,cas # 配置参考 https://blog.csdn.net/qq_43842093/article/details/121866953 jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss deserialization: # 当实体中没有属性的setter方法时是否抛出异常 FAIL_ON_UNKNOWN_PROPERTIES: false # 字符串转允许List,否则导致 @RequestBody List<T> list 类型无法解析 ACCEPT_SINGLE_VALUE_AS_ARRAY: truegc: starter: menu: autoAppendRoleCodes: - managerRole - superAdminRole - appUser# mybatismybatis-plus: # 实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: com.gccloud.starter.*.entity
application-dev.yml
spring: servlet: multipart: # 配置上传下载文件的最大值 max-file-size: 500MB max-request-size: 500MB # 需根据实际部署情况修改 datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.p6spy.engine.spy.P6SpyDriver url: jdbc:p6spy:mysql://192.168.0.1:3306/gc_starter_lowcode?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true username: root password: pwd resources: static-locations: classpath:/static/,classpath:/META-INF/resources/,classpath:/META-INF/resources/webjars/,file:${gc.starter.file.basePath}gc: starter: jwt: storeStrategy: none file: # 服务器上的一个存储文件的绝对路径,需要有写入权限,需根据实际部署情况修改 basePath: F:\LIUCHANGAN\LowCode # 启动服务的地址、外网能够访问的地址 urlPrefix: http://127.0.0.1:8081/gc-starter-server/static/ csrf: # 是否允许不传入Referer头 allowedEmpty: true # 允许哪些 Referer 可以访问,以所列的url开头表示允许 allowedReferers: - http:// captcha: enable: false component: XssWhitelist: disable XssEscapeFilter: disablemybatis-plus: # mybatis xml配置文件扫描 mapper-locations: classpath*:mapper/**/*.xml#接口文档配置swagger: basic: # 是否启用swagger接口文档登录功能,登录后才可以访问 enable: true # 访问swagger接口文档的登录用户名 username: admin # 访问swagger接口文档的登录密码 password: admin# 低代码平台配置lcdp: # 应用配置 app: # 自动化运维部署,需根据实际部署情况修改 autoOps: # 模板可运行包所在目录,里面必须包含 app-template、app-template-ui 两个目录 templateProjectUiDir: /Users/liuchengbiao/Desktop/apache-tomcat-8.5.51/webapps/app-template-ui # 模板生成的工程目录,以时间戳为名称创建新目录s outTemplateProjectDir: /Users/liuchengbiao/Desktop/apache-tomcat-8.5.51/webapps # tomcat 或 nginx 容器地址 containerPrefixUrl: http://127.0.0.1:8888/ # 应用后端服务、和低代码后端保持一致 servicePrefixUrl: http://127.0.0.1:${server.port}${server.servlet.context-path}flowable: #关闭定时任务JOB async-executor-activate: false #关闭自动部署验证设置 # check-process-definitions: false # 将databaseSchemaUpdate设置为true。当Flowable发现库与数据库表结构不一致时,会自动将数据库表结构升级至新版本。 database-schema-update: truelogging: level: org: flowable: engine: impl: '*': debug interceptor: '*': debug persistence: entity: '*': debug task: service: impl: persistence: entity: '*': debug