server: servlet: context-path: '/' port: 8092 # tomcat 配置,主要用于 配置 访问日志(便于将来排查错误) tomcat: basedir: ${localPath:/home}/logs/smart_admin_v2/dev/tomcat-logs accesslog: enabled: true pattern: '%t %{X-Forwarded-For}i %a "%r" %s %D (%D ms)' spring: profiles: active: '@profiles.active@' # 数据库连接信息 datasource: url: jdbc:p6spy:mysql://172.16.87.199:3306/gmeq?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai username: root password: Gm@5418# druid: username: druid password: 1024 login: enabled: false method: pointcut: net.lab1024.sa..*Service.* stat-view-servlet: enabled: false spring: datasource: druid: stat-view-servlet: enabled: false filter: stat: enabled: false exclusions: /*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/* web-stat-filter: enabled: false redis: database: 1 host: 210.16.189.72 lettuce: pool: max-active: 5 min-idle: 1 max-idle: 3 max-wait: 30000ms port: 6379 timeout: 10000ms password: Gm@5418# # 项目配置 project: name: sa-admin module: net.lab1024.sa.admin.module # swagger文档 swagger: host: localhost:${server.port} tag-class: net.lab1024.sa.admin.constant.AdminSwaggerTagConst cloud: region: oss-cn-qingdao endpoint: oss-cn-qingdao.aliyuncs.com bucket-name: common-sit access-key: secret-key: