ry_config_20240902.sql 115 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331
  1. -- config_info definition
  2. -- Drop table
  3. -- DROP TABLE config_info;
  4. CREATE TABLE config_info (
  5. id bigserial NOT NULL,
  6. data_id varchar(255) NOT NULL,
  7. group_id varchar(128) NULL,
  8. "content" text NOT NULL,
  9. md5 varchar(32) NULL,
  10. gmt_create timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  11. gmt_modified timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  12. src_user text NULL,
  13. src_ip varchar(50) NULL,
  14. app_name varchar(128) NULL,
  15. tenant_id varchar(128) DEFAULT ''::character varying NULL,
  16. c_desc varchar(256) NULL,
  17. c_use varchar(64) NULL,
  18. effect varchar(64) NULL,
  19. "type" varchar(64) NULL,
  20. c_schema text NULL,
  21. encrypted_data_key text NOT NULL,
  22. CONSTRAINT idx_20447_primary PRIMARY KEY (id)
  23. );
  24. CREATE UNIQUE INDEX idx_20447_uk_configinfo_datagrouptenant ON config_info USING btree (data_id, group_id, tenant_id);
  25. -- config_info_aggr definition
  26. -- Drop table
  27. -- DROP TABLE config_info_aggr;
  28. CREATE TABLE config_info_aggr (
  29. id bigserial NOT NULL,
  30. data_id varchar(255) NOT NULL,
  31. group_id varchar(128) NOT NULL,
  32. datum_id varchar(255) NOT NULL,
  33. "content" text NOT NULL,
  34. gmt_modified timestamptz NOT NULL,
  35. app_name varchar(128) NULL,
  36. tenant_id varchar(128) DEFAULT ''::character varying NULL,
  37. CONSTRAINT idx_20457_primary PRIMARY KEY (id)
  38. );
  39. CREATE UNIQUE INDEX idx_20457_uk_configinfoaggr_datagrouptenantdatum ON config_info_aggr USING btree (data_id, group_id, tenant_id, datum_id);
  40. -- config_info_beta definition
  41. -- Drop table
  42. -- DROP TABLE config_info_beta;
  43. CREATE TABLE config_info_beta (
  44. id bigserial NOT NULL,
  45. data_id varchar(255) NOT NULL,
  46. group_id varchar(128) NOT NULL,
  47. app_name varchar(128) NULL,
  48. "content" text NOT NULL,
  49. beta_ips varchar(1024) NULL,
  50. md5 varchar(32) NULL,
  51. gmt_create timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  52. gmt_modified timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  53. src_user text NULL,
  54. src_ip varchar(50) NULL,
  55. tenant_id varchar(128) DEFAULT ''::character varying NULL,
  56. encrypted_data_key text NOT NULL,
  57. CONSTRAINT idx_20465_primary PRIMARY KEY (id)
  58. );
  59. CREATE UNIQUE INDEX idx_20465_uk_configinfobeta_datagrouptenant ON config_info_beta USING btree (data_id, group_id, tenant_id);
  60. -- config_info_tag definition
  61. -- Drop table
  62. -- DROP TABLE config_info_tag;
  63. CREATE TABLE config_info_tag (
  64. id bigserial NOT NULL,
  65. data_id varchar(255) NOT NULL,
  66. group_id varchar(128) NOT NULL,
  67. tenant_id varchar(128) DEFAULT ''::character varying NULL,
  68. tag_id varchar(128) NOT NULL,
  69. app_name varchar(128) NULL,
  70. "content" text NOT NULL,
  71. md5 varchar(32) NULL,
  72. gmt_create timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  73. gmt_modified timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  74. src_user text NULL,
  75. src_ip varchar(50) NULL,
  76. CONSTRAINT idx_20475_primary PRIMARY KEY (id)
  77. );
  78. CREATE UNIQUE INDEX idx_20475_uk_configinfotag_datagrouptenanttag ON config_info_tag USING btree (data_id, group_id, tenant_id, tag_id);
  79. -- config_tags_relation definition
  80. -- Drop table
  81. -- DROP TABLE config_tags_relation;
  82. CREATE TABLE config_tags_relation (
  83. id int8 NOT NULL,
  84. tag_name varchar(128) NOT NULL,
  85. tag_type varchar(64) NULL,
  86. data_id varchar(255) NOT NULL,
  87. group_id varchar(128) NOT NULL,
  88. tenant_id varchar(128) DEFAULT ''::character varying NULL,
  89. nid bigserial NOT NULL,
  90. CONSTRAINT idx_20485_primary PRIMARY KEY (nid)
  91. );
  92. CREATE INDEX idx_20485_idx_tenant_id ON config_tags_relation USING btree (tenant_id);
  93. CREATE UNIQUE INDEX idx_20485_uk_configtagrelation_configidtag ON config_tags_relation USING btree (id, tag_name, tag_type);
  94. -- group_capacity definition
  95. -- Drop table
  96. -- DROP TABLE group_capacity;
  97. CREATE TABLE group_capacity (
  98. id bigserial NOT NULL,
  99. group_id varchar(128) DEFAULT ''::character varying NOT NULL,
  100. quota int8 DEFAULT '0'::bigint NOT NULL,
  101. "usage" int8 DEFAULT '0'::bigint NOT NULL,
  102. max_size int8 DEFAULT '0'::bigint NOT NULL,
  103. max_aggr_count int8 DEFAULT '0'::bigint NOT NULL,
  104. max_aggr_size int8 DEFAULT '0'::bigint NOT NULL,
  105. max_history_count int8 DEFAULT '0'::bigint NOT NULL,
  106. gmt_create timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  107. gmt_modified timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  108. CONSTRAINT idx_20493_primary PRIMARY KEY (id)
  109. );
  110. CREATE UNIQUE INDEX idx_20493_uk_group_id ON group_capacity USING btree (group_id);
  111. -- his_config_info definition
  112. -- Drop table
  113. -- DROP TABLE his_config_info;
  114. CREATE TABLE his_config_info (
  115. id numeric NOT NULL,
  116. nid bigserial NOT NULL,
  117. data_id varchar(255) NOT NULL,
  118. group_id varchar(128) NOT NULL,
  119. app_name varchar(128) NULL,
  120. "content" text NOT NULL,
  121. md5 varchar(32) NULL,
  122. gmt_create timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  123. gmt_modified timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  124. src_user text NULL,
  125. src_ip varchar(50) NULL,
  126. op_type bpchar(10) NULL,
  127. tenant_id varchar(128) DEFAULT ''::character varying NULL,
  128. encrypted_data_key text NOT NULL,
  129. CONSTRAINT idx_20507_primary PRIMARY KEY (nid)
  130. );
  131. CREATE INDEX idx_20507_idx_did ON his_config_info USING btree (data_id);
  132. CREATE INDEX idx_20507_idx_gmt_create ON his_config_info USING btree (gmt_create);
  133. CREATE INDEX idx_20507_idx_gmt_modified ON his_config_info USING btree (gmt_modified);
  134. -- permissions definition
  135. -- Drop table
  136. -- DROP TABLE permissions;
  137. CREATE TABLE permissions (
  138. "role" varchar(50) NOT NULL,
  139. resource varchar(128) NOT NULL,
  140. "action" varchar(8) NOT NULL
  141. );
  142. CREATE UNIQUE INDEX idx_20516_uk_role_permission ON permissions USING btree (role, resource, action);
  143. -- roles definition
  144. -- Drop table
  145. -- DROP TABLE roles;
  146. CREATE TABLE roles (
  147. username varchar(50) NOT NULL,
  148. "role" varchar(50) NOT NULL
  149. );
  150. CREATE UNIQUE INDEX idx_20519_idx_user_role ON roles USING btree (username, role);
  151. -- tenant_capacity definition
  152. -- Drop table
  153. -- DROP TABLE tenant_capacity;
  154. CREATE TABLE tenant_capacity (
  155. id bigserial NOT NULL,
  156. tenant_id varchar(128) DEFAULT ''::character varying NOT NULL,
  157. quota int8 DEFAULT '0'::bigint NOT NULL,
  158. "usage" int8 DEFAULT '0'::bigint NOT NULL,
  159. max_size int8 DEFAULT '0'::bigint NOT NULL,
  160. max_aggr_count int8 DEFAULT '0'::bigint NOT NULL,
  161. max_aggr_size int8 DEFAULT '0'::bigint NOT NULL,
  162. max_history_count int8 DEFAULT '0'::bigint NOT NULL,
  163. gmt_create timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  164. gmt_modified timestamptz DEFAULT CURRENT_TIMESTAMP NOT NULL,
  165. CONSTRAINT idx_20523_primary PRIMARY KEY (id)
  166. );
  167. CREATE UNIQUE INDEX idx_20523_uk_tenant_id ON tenant_capacity USING btree (tenant_id);
  168. -- tenant_info definition
  169. -- Drop table
  170. -- DROP TABLE tenant_info;
  171. CREATE TABLE tenant_info (
  172. id bigserial NOT NULL,
  173. kp varchar(128) NOT NULL,
  174. tenant_id varchar(128) DEFAULT ''::character varying NULL,
  175. tenant_name varchar(128) DEFAULT ''::character varying NULL,
  176. tenant_desc varchar(256) NULL,
  177. create_source varchar(32) NULL,
  178. gmt_create int8 NOT NULL,
  179. gmt_modified int8 NOT NULL,
  180. CONSTRAINT idx_20537_primary PRIMARY KEY (id)
  181. );
  182. CREATE INDEX idx_20537_idx_tenant_id ON tenant_info USING btree (tenant_id);
  183. CREATE UNIQUE INDEX idx_20537_uk_tenant_info_kptenantid ON tenant_info USING btree (kp, tenant_id);
  184. -- users definition
  185. -- Drop table
  186. -- DROP TABLE users;
  187. CREATE TABLE users (
  188. username varchar(50) NOT NULL,
  189. "password" varchar(500) NOT NULL,
  190. enabled bool NOT NULL,
  191. CONSTRAINT idx_20545_primary PRIMARY KEY (username)
  192. );
  193. INSERT INTO config_info (data_id,group_id,"content",md5,gmt_create,gmt_modified,src_user,src_ip,app_name,tenant_id,c_desc,c_use,effect,"type",c_schema,encrypted_data_key) VALUES
  194. ('application-dev.yml','DEFAULT_GROUP','spring:
  195. autoconfigure:
  196. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  197. # feign 配置
  198. feign:
  199. sentinel:
  200. enabled: true
  201. okhttp:
  202. enabled: true
  203. httpclient:
  204. enabled: false
  205. client:
  206. config:
  207. default:
  208. connectTimeout: 10000
  209. readTimeout: 10000
  210. compression:
  211. request:
  212. enabled: true
  213. min-request-size: 8192
  214. response:
  215. enabled: true
  216. # 暴露监控端点
  217. management:
  218. endpoints:
  219. web:
  220. exposure:
  221. include: ''*''
  222. ','9928f41dfb10386ad38b3254af5692e0','2025-01-08 15:32:24.948+08','2025-01-08 15:32:24.948+08',NULL,'127.0.0.1','','rsmonitoring','通用配置',NULL,NULL,'yaml',NULL,''),
  223. ('ruoyi-gateway-dev.yml','DEFAULT_GROUP','spring:
  224. redis:
  225. host: localhost
  226. port: 6379
  227. password:
  228. cloud:
  229. gateway:
  230. discovery:
  231. locator:
  232. lowerCaseServiceId: true
  233. enabled: true
  234. routes:
  235. # 认证中心
  236. - id: ruoyi-auth
  237. uri: lb://ruoyi-auth
  238. predicates:
  239. - Path=/auth/**
  240. filters:
  241. # 验证码处理
  242. - CacheRequestFilter
  243. - ValidateCodeFilter
  244. - StripPrefix=1
  245. # 代码生成
  246. - id: ruoyi-gen
  247. uri: lb://ruoyi-gen
  248. predicates:
  249. - Path=/code/**
  250. filters:
  251. - StripPrefix=1
  252. # 定时任务
  253. - id: ruoyi-job
  254. uri: lb://ruoyi-job
  255. predicates:
  256. - Path=/schedule/**
  257. filters:
  258. - StripPrefix=1
  259. # 系统模块
  260. - id: ruoyi-system
  261. uri: lb://ruoyi-system
  262. predicates:
  263. - Path=/system/**
  264. filters:
  265. - StripPrefix=1
  266. # 文件服务
  267. - id: ruoyi-file
  268. uri: lb://ruoyi-file
  269. predicates:
  270. - Path=/file/**
  271. filters:
  272. - StripPrefix=1
  273. # 安全配置
  274. security:
  275. # 验证码
  276. captcha:
  277. enabled: true
  278. type: math
  279. # 防止XSS攻击
  280. xss:
  281. enabled: true
  282. excludeUrls:
  283. - /system/notice
  284. # 不校验白名单
  285. ignore:
  286. whites:
  287. - /auth/logout
  288. - /auth/login
  289. - /auth/register
  290. - /*/v2/api-docs
  291. - /*/v3/api-docs
  292. - /csrf
  293. # springdoc配置
  294. springdoc:
  295. webjars:
  296. # 访问前缀
  297. prefix:
  298. ','4d329eb08a941a8dd9d26f542c6ac6c5','2025-01-08 15:32:24.96+08','2025-01-08 15:32:24.96+08',NULL,'127.0.0.1','','rsmonitoring','网关模块',NULL,NULL,'yaml',NULL,''),
  299. ('ruoyi-auth-dev.yml','DEFAULT_GROUP','spring:
  300. redis:
  301. host: localhost
  302. port: 6379
  303. password:
  304. ','a03e7632a0a74520eeb4fbedd6d82d97','2025-01-08 15:32:24.967+08','2025-01-08 15:32:24.967+08',NULL,'127.0.0.1','','rsmonitoring','认证中心',NULL,NULL,'yaml',NULL,''),
  305. ('ruoyi-monitor-dev.yml','DEFAULT_GROUP','# spring
  306. spring:
  307. security:
  308. user:
  309. name: ruoyi
  310. password: 123456
  311. boot:
  312. admin:
  313. ui:
  314. title: 若依服务状态监控
  315. ','6f122fd2bfb8d45f858e7d6529a9cd44','2025-01-08 15:32:24.973+08','2025-01-08 15:32:24.973+08',NULL,'127.0.0.1','','rsmonitoring','监控中心',NULL,NULL,'yaml',NULL,''),
  316. ('ruoyi-file-dev.yml','DEFAULT_GROUP','# 本地文件上传
  317. file:
  318. domain: http://127.0.0.1:9300
  319. path: D:/ruoyi/uploadPath
  320. prefix: /statics
  321. # FastDFS配置
  322. fdfs:
  323. domain: http://8.129.231.12
  324. soTimeout: 3000
  325. connectTimeout: 2000
  326. trackerList: 8.129.231.12:22122
  327. # Minio配置
  328. minio:
  329. url: http://8.129.231.12:9000
  330. accessKey: minioadmin
  331. secretKey: minioadmin
  332. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-08 15:32:25.002+08','2025-01-08 15:32:25.002+08',NULL,'127.0.0.1','','rsmonitoring','文件服务',NULL,NULL,'yaml',NULL,''),
  333. ('ruoyi-gen-dev.yml','DEFAULT_GROUP','# spring配置
  334. spring:
  335. redis:
  336. host: localhost
  337. port: 6379
  338. password:
  339. datasource:
  340. driver-class-name: org.postgresql.Driver
  341. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  342. username: postgres
  343. password: postgis
  344. # mybatis配置
  345. mybatis:
  346. # 搜索指定包别名
  347. typeAliasesPackage: com.ruoyi.gen.domain
  348. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  349. mapperLocations: classpath:mapper/postgresql/**/*.xml
  350. # springdoc配置
  351. springdoc:
  352. gatewayUrl: http://localhost:8080/${spring.application.name}
  353. api-docs:
  354. # 是否开启接口文档
  355. enabled: true
  356. info:
  357. # 标题
  358. title: ''代码生成接口文档''
  359. # 描述
  360. description: ''代码生成接口描述''
  361. # 作者信息
  362. contact:
  363. name: RuoYi
  364. url: https://ruoyi.vip
  365. # 代码生成
  366. gen:
  367. # 作者
  368. author: ruoyi
  369. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  370. packageName: com.ruoyi.system
  371. # 自动去除表前缀,默认是false
  372. autoRemovePre: false
  373. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  374. tablePrefix: sys_
  375. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  376. allowOverwrite: false','adaffd35363045dacb964ff6597b3f89','2025-01-08 15:32:24.988+08','2025-01-08 17:15:16.461+08','nacos','0:0:0:0:0:0:0:1','','rsmonitoring','代码生成','','','yaml','',''),
  377. ('ruoyi-job-dev.yml','DEFAULT_GROUP','# spring配置
  378. spring:
  379. redis:
  380. host: localhost
  381. port: 6379
  382. password:
  383. datasource:
  384. driver-class-name: org.postgresql.Driver
  385. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  386. username: postgres
  387. password: postgis
  388. # mybatis配置
  389. mybatis:
  390. # 搜索指定包别名
  391. typeAliasesPackage: com.ruoyi.job.domain
  392. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  393. mapperLocations: classpath:mapper/postgresql/**/*.xml
  394. # springdoc配置
  395. springdoc:
  396. gatewayUrl: http://localhost:8080/${spring.application.name}
  397. api-docs:
  398. # 是否开启接口文档
  399. enabled: true
  400. info:
  401. # 标题
  402. title: ''定时任务接口文档''
  403. # 描述
  404. description: ''定时任务接口描述''
  405. # 作者信息
  406. contact:
  407. name: RuoYi
  408. url: https://ruoyi.vip
  409. ','2bad0f01e4b408ea949909cbbf3732ec','2025-01-08 15:32:24.995+08','2025-01-08 17:28:41.594+08','nacos','0:0:0:0:0:0:0:1','','rsmonitoring','定时任务','','','yaml','',''),
  410. ('sentinel-ruoyi-gateway','DEFAULT_GROUP','[
  411. {
  412. "resource": "ruoyi-auth",
  413. "count": 500,
  414. "grade": 1,
  415. "limitApp": "default",
  416. "strategy": 0,
  417. "controlBehavior": 0
  418. },
  419. {
  420. "resource": "ruoyi-system",
  421. "count": 1000,
  422. "grade": 1,
  423. "limitApp": "default",
  424. "strategy": 0,
  425. "controlBehavior": 0
  426. },
  427. {
  428. "resource": "ruoyi-gen",
  429. "count": 200,
  430. "grade": 1,
  431. "limitApp": "default",
  432. "strategy": 0,
  433. "controlBehavior": 0
  434. },
  435. {
  436. "resource": "ruoyi-job",
  437. "count": 300,
  438. "grade": 1,
  439. "limitApp": "default",
  440. "strategy": 0,
  441. "controlBehavior": 0
  442. }
  443. ]','9f3a3069261598f74220bc47958ec252','2025-01-08 15:32:25.008+08','2025-01-08 15:32:25.008+08',NULL,'127.0.0.1','','rsmonitoring','限流策略',NULL,NULL,'json',NULL,''),
  444. ('ruoyi-system-dev.yml','DEFAULT_GROUP','# spring配置
  445. spring:
  446. redis:
  447. host: localhost
  448. port: 6379
  449. password:
  450. datasource:
  451. druid:
  452. stat-view-servlet:
  453. enabled: true
  454. loginUsername: ruoyi
  455. loginPassword: 123456
  456. dynamic:
  457. druid:
  458. initial-size: 5
  459. min-idle: 5
  460. maxActive: 20
  461. maxWait: 60000
  462. connectTimeout: 30000
  463. socketTimeout: 60000
  464. timeBetweenEvictionRunsMillis: 60000
  465. minEvictableIdleTimeMillis: 300000
  466. validationQuery: SELECT 1
  467. testWhileIdle: true
  468. testOnBorrow: false
  469. testOnReturn: false
  470. poolPreparedStatements: true
  471. maxPoolPreparedStatementPerConnectionSize: 20
  472. filters: stat,slf4j
  473. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  474. datasource:
  475. # 主库数据源
  476. # master:
  477. # driver-class-name: com.mysql.cj.jdbc.Driver
  478. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  479. # username: root
  480. # password: password
  481. master:
  482. driver-class-name: org.postgresql.Driver
  483. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  484. username: postgres
  485. password: postgis
  486. # 从库数据源
  487. # slave:
  488. # username:
  489. # password:
  490. # url:
  491. # driver-class-name:
  492. # mybatis配置
  493. mybatis:
  494. # 搜索指定包别名
  495. typeAliasesPackage: com.ruoyi.system
  496. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  497. mapperLocations: classpath:mapper/postgresql/**/*.xml
  498. # springdoc配置
  499. springdoc:
  500. gatewayUrl: http://localhost:8080/${spring.application.name}
  501. api-docs:
  502. # 是否开启接口文档
  503. enabled: true
  504. info:
  505. # 标题
  506. title: ''系统模块接口文档''
  507. # 描述
  508. description: ''系统模块接口描述''
  509. # 作者信息
  510. contact:
  511. name: RuoYi
  512. url: https://ruoyi.vip
  513. ','f16150ad0c2d77bdb1361de3c1c31515','2025-01-08 15:32:24.98+08','2025-01-08 17:07:33.066+08','nacos','0:0:0:0:0:0:0:1','','rsmonitoring','系统模块','','','yaml','',''),
  514. ('application-dev.yml','DEFAULT_GROUP','spring:
  515. autoconfigure:
  516. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  517. # feign 配置
  518. feign:
  519. sentinel:
  520. enabled: true
  521. okhttp:
  522. enabled: true
  523. httpclient:
  524. enabled: false
  525. client:
  526. config:
  527. default:
  528. connectTimeout: 10000
  529. readTimeout: 10000
  530. compression:
  531. request:
  532. enabled: true
  533. min-request-size: 8192
  534. response:
  535. enabled: true
  536. # 暴露监控端点
  537. management:
  538. endpoints:
  539. web:
  540. exposure:
  541. include: ''*''
  542. ','9928f41dfb10386ad38b3254af5692e0','2025-01-09 08:39:13.821+08','2025-01-09 08:39:13.821+08',NULL,'0:0:0:0:0:0:0:1','','siwei',NULL,NULL,NULL,'yaml',NULL,'');
  543. INSERT INTO config_info (data_id,group_id,"content",md5,gmt_create,gmt_modified,src_user,src_ip,app_name,tenant_id,c_desc,c_use,effect,"type",c_schema,encrypted_data_key) VALUES
  544. ('sentinel-ruoyi-gateway','DEFAULT_GROUP','[
  545. {
  546. "resource": "ruoyi-auth",
  547. "count": 500,
  548. "grade": 1,
  549. "limitApp": "default",
  550. "strategy": 0,
  551. "controlBehavior": 0
  552. },
  553. {
  554. "resource": "ruoyi-system",
  555. "count": 1000,
  556. "grade": 1,
  557. "limitApp": "default",
  558. "strategy": 0,
  559. "controlBehavior": 0
  560. },
  561. {
  562. "resource": "ruoyi-gen",
  563. "count": 200,
  564. "grade": 1,
  565. "limitApp": "default",
  566. "strategy": 0,
  567. "controlBehavior": 0
  568. },
  569. {
  570. "resource": "ruoyi-job",
  571. "count": 300,
  572. "grade": 1,
  573. "limitApp": "default",
  574. "strategy": 0,
  575. "controlBehavior": 0
  576. }
  577. ]','9f3a3069261598f74220bc47958ec252','2025-01-09 08:39:14.105+08','2025-01-09 08:39:14.105+08',NULL,'0:0:0:0:0:0:0:1','','siwei',NULL,NULL,NULL,'text',NULL,''),
  578. ('siwei-auth-dev.yml','DEFAULT_GROUP','spring:
  579. redis:
  580. host: localhost
  581. port: 6379
  582. password:
  583. ','20be3cc71833cd1e62fb4792ef83332b','2025-01-09 09:29:20.414+08','2025-01-09 09:29:20.414+08','nacos','0:0:0:0:0:0:0:1','','siwei',NULL,NULL,NULL,'yaml',NULL,''),
  584. ('siwei-system-dev.yml','DEFAULT_GROUP','# spring配置
  585. spring:
  586. redis:
  587. host: localhost
  588. port: 6379
  589. password:
  590. datasource:
  591. druid:
  592. stat-view-servlet:
  593. enabled: true
  594. loginUsername: ruoyi
  595. loginPassword: 123456
  596. dynamic:
  597. druid:
  598. initial-size: 5
  599. min-idle: 5
  600. maxActive: 20
  601. maxWait: 60000
  602. connectTimeout: 30000
  603. socketTimeout: 60000
  604. timeBetweenEvictionRunsMillis: 60000
  605. minEvictableIdleTimeMillis: 300000
  606. validationQuery: SELECT 1
  607. testWhileIdle: true
  608. testOnBorrow: false
  609. testOnReturn: false
  610. poolPreparedStatements: true
  611. maxPoolPreparedStatementPerConnectionSize: 20
  612. filters: stat,slf4j
  613. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  614. datasource:
  615. # 主库数据源
  616. # master:
  617. # driver-class-name: com.mysql.cj.jdbc.Driver
  618. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  619. # username: root
  620. # password: password
  621. master:
  622. driver-class-name: org.postgresql.Driver
  623. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  624. username: postgres
  625. password: postgis
  626. # 从库数据源
  627. # slave:
  628. # username:
  629. # password:
  630. # url:
  631. # driver-class-name:
  632. # mybatis配置
  633. mybatis:
  634. # 搜索指定包别名
  635. typeAliasesPackage: com.siwei.system
  636. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  637. mapperLocations: classpath:mapper/postgresql/**/*.xml
  638. # springdoc配置
  639. springdoc:
  640. gatewayUrl: http://localhost:8080/${spring.application.name}
  641. api-docs:
  642. # 是否开启接口文档
  643. enabled: true
  644. info:
  645. # 标题
  646. title: ''系统模块接口文档''
  647. # 描述
  648. description: ''系统模块接口描述''
  649. # 作者信息
  650. contact:
  651. name: RuoYi
  652. url: https://ruoyi.vip
  653. ','769ccb532762cd90c88920f10ebce06c','2025-01-09 08:42:55.729+08','2025-01-09 10:27:33.279+08','nacos','0:0:0:0:0:0:0:1','','siwei','','','','yaml','',''),
  654. ('siwei-file-dev.yml','DEFAULT_GROUP','# 本地文件上传
  655. file:
  656. domain: http://127.0.0.1:9300
  657. path: D:/ruoyi/uploadPath
  658. prefix: /statics
  659. # FastDFS配置
  660. fdfs:
  661. domain: http://8.129.231.12
  662. soTimeout: 3000
  663. connectTimeout: 2000
  664. trackerList: 8.129.231.12:22122
  665. # Minio配置
  666. minio:
  667. url: http://8.129.231.12:9000
  668. accessKey: minioadmin
  669. secretKey: minioadmin
  670. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-09 11:12:32.23+08','2025-01-09 11:12:32.23+08','nacos','0:0:0:0:0:0:0:1','','siwei',NULL,NULL,NULL,'text',NULL,''),
  671. ('siwei-job-dev.yml','DEFAULT_GROUP','# spring配置
  672. spring:
  673. redis:
  674. host: localhost
  675. port: 6379
  676. password:
  677. datasource:
  678. driver-class-name: org.postgresql.Driver
  679. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  680. username: postgres
  681. password: postgis
  682. # mybatis配置
  683. mybatis:
  684. # 搜索指定包别名
  685. typeAliasesPackage: com.siwei.job.domain
  686. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  687. mapperLocations: classpath:mapper/postgresql/**/*.xml
  688. # springdoc配置
  689. springdoc:
  690. gatewayUrl: http://localhost:8080/${spring.application.name}
  691. api-docs:
  692. # 是否开启接口文档
  693. enabled: true
  694. info:
  695. # 标题
  696. title: ''定时任务接口文档''
  697. # 描述
  698. description: ''定时任务接口描述''
  699. # 作者信息
  700. contact:
  701. name: RuoYi
  702. url: https://ruoyi.vip
  703. ','3f01395601b2099914b52427e288ab98','2025-01-09 11:19:06.331+08','2025-01-09 11:19:06.331+08','nacos','0:0:0:0:0:0:0:1','','siwei',NULL,NULL,NULL,'yaml',NULL,''),
  704. ('siwei-monitor-dev.yml','DEFAULT_GROUP','# spring
  705. spring:
  706. security:
  707. user:
  708. name: siwei
  709. password: 123456
  710. boot:
  711. admin:
  712. ui:
  713. title: 若依服务状态监控
  714. ','2e1bb8d9ed9c6e404094316b311db2ea','2025-01-09 13:47:04.028+08','2025-01-09 13:47:04.028+08','nacos','0:0:0:0:0:0:0:1','','siwei',NULL,NULL,NULL,'yaml',NULL,''),
  715. ('siwei-gateway-dev.yml','DEFAULT_GROUP','spring:
  716. redis:
  717. host: localhost
  718. port: 6379
  719. password:
  720. cloud:
  721. gateway:
  722. discovery:
  723. locator:
  724. lowerCaseServiceId: true
  725. enabled: true
  726. routes:
  727. # 认证中心
  728. - id: siwei-auth
  729. uri: lb://siwei-auth
  730. predicates:
  731. - Path=/auth/**
  732. filters:
  733. # 验证码处理
  734. - CacheRequestFilter
  735. - ValidateCodeFilter
  736. - StripPrefix=1
  737. # 定时任务
  738. - id: siwei-job
  739. uri: lb://siwei-job
  740. predicates:
  741. - Path=/schedule/**
  742. filters:
  743. - StripPrefix=1
  744. # 系统模块
  745. - id: siwei-system
  746. uri: lb://siwei-system
  747. predicates:
  748. - Path=/system/**
  749. filters:
  750. - StripPrefix=1
  751. # 文件服务
  752. - id: siwei-file
  753. uri: lb://siwei-file
  754. predicates:
  755. - Path=/file/**
  756. filters:
  757. - StripPrefix=1
  758. # 安全配置
  759. security:
  760. # 验证码
  761. captcha:
  762. enabled: true
  763. type: math
  764. # 防止XSS攻击
  765. xss:
  766. enabled: true
  767. excludeUrls:
  768. - /system/notice
  769. # 不校验白名单
  770. ignore:
  771. whites:
  772. - /auth/logout
  773. - /auth/login
  774. - /auth/register
  775. - /*/v2/api-docs
  776. - /*/v3/api-docs
  777. - /csrf
  778. # springdoc配置
  779. springdoc:
  780. webjars:
  781. # 访问前缀
  782. prefix:
  783. ','f460df1d1d6f5ee202eb3db503c4608f','2025-01-09 09:46:34.237+08','2025-01-09 14:36:12.949+08','nacos','0:0:0:0:0:0:0:1','','siwei','','','','yaml','','');
  784. INSERT INTO his_config_info (id,data_id,group_id,app_name,"content",md5,gmt_create,gmt_modified,src_user,src_ip,op_type,tenant_id,encrypted_data_key) VALUES
  785. (0,'12','DEFAULT_GROUP','','12','c20ad4d76fe97759aa27a0c99bff6710','2025-01-08 22:30:59+08','2025-01-08 14:31:00+08','nacos','127.0.0.1','I ','ceshi01',''),
  786. (0,'1','DEFAULT_GROUP','','2','c81e728d9d4c2f636f067f89cc14862c','2025-01-08 15:31:02.829349+08','2025-01-08 15:31:01.733+08','nacos','127.0.0.1','I ','ceshi01',''),
  787. (0,'application-dev.yml','DEFAULT_GROUP','','spring:
  788. autoconfigure:
  789. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  790. # feign 配置
  791. feign:
  792. sentinel:
  793. enabled: true
  794. okhttp:
  795. enabled: true
  796. httpclient:
  797. enabled: false
  798. client:
  799. config:
  800. default:
  801. connectTimeout: 10000
  802. readTimeout: 10000
  803. compression:
  804. request:
  805. enabled: true
  806. min-request-size: 8192
  807. response:
  808. enabled: true
  809. # 暴露监控端点
  810. management:
  811. endpoints:
  812. web:
  813. exposure:
  814. include: ''*''
  815. ','9928f41dfb10386ad38b3254af5692e0','2025-01-08 15:31:12.113117+08','2025-01-08 15:31:11.002+08',NULL,'127.0.0.1','I ','ceshi01',''),
  816. (0,'ruoyi-gateway-dev.yml','DEFAULT_GROUP','','spring:
  817. redis:
  818. host: localhost
  819. port: 6379
  820. password:
  821. cloud:
  822. gateway:
  823. discovery:
  824. locator:
  825. lowerCaseServiceId: true
  826. enabled: true
  827. routes:
  828. # 认证中心
  829. - id: ruoyi-auth
  830. uri: lb://ruoyi-auth
  831. predicates:
  832. - Path=/auth/**
  833. filters:
  834. # 验证码处理
  835. - CacheRequestFilter
  836. - ValidateCodeFilter
  837. - StripPrefix=1
  838. # 代码生成
  839. - id: ruoyi-gen
  840. uri: lb://ruoyi-gen
  841. predicates:
  842. - Path=/code/**
  843. filters:
  844. - StripPrefix=1
  845. # 定时任务
  846. - id: ruoyi-job
  847. uri: lb://ruoyi-job
  848. predicates:
  849. - Path=/schedule/**
  850. filters:
  851. - StripPrefix=1
  852. # 系统模块
  853. - id: ruoyi-system
  854. uri: lb://ruoyi-system
  855. predicates:
  856. - Path=/system/**
  857. filters:
  858. - StripPrefix=1
  859. # 文件服务
  860. - id: ruoyi-file
  861. uri: lb://ruoyi-file
  862. predicates:
  863. - Path=/file/**
  864. filters:
  865. - StripPrefix=1
  866. # 安全配置
  867. security:
  868. # 验证码
  869. captcha:
  870. enabled: true
  871. type: math
  872. # 防止XSS攻击
  873. xss:
  874. enabled: true
  875. excludeUrls:
  876. - /system/notice
  877. # 不校验白名单
  878. ignore:
  879. whites:
  880. - /auth/logout
  881. - /auth/login
  882. - /auth/register
  883. - /*/v2/api-docs
  884. - /*/v3/api-docs
  885. - /csrf
  886. # springdoc配置
  887. springdoc:
  888. webjars:
  889. # 访问前缀
  890. prefix:
  891. ','4d329eb08a941a8dd9d26f542c6ac6c5','2025-01-08 15:31:12.122045+08','2025-01-08 15:31:11.011+08',NULL,'127.0.0.1','I ','ceshi01',''),
  892. (0,'ruoyi-auth-dev.yml','DEFAULT_GROUP','','spring:
  893. redis:
  894. host: localhost
  895. port: 6379
  896. password:
  897. ','a03e7632a0a74520eeb4fbedd6d82d97','2025-01-08 15:31:12.129456+08','2025-01-08 15:31:11.019+08',NULL,'127.0.0.1','I ','ceshi01',''),
  898. (0,'ruoyi-monitor-dev.yml','DEFAULT_GROUP','','# spring
  899. spring:
  900. security:
  901. user:
  902. name: ruoyi
  903. password: 123456
  904. boot:
  905. admin:
  906. ui:
  907. title: 若依服务状态监控
  908. ','6f122fd2bfb8d45f858e7d6529a9cd44','2025-01-08 15:31:12.136292+08','2025-01-08 15:31:11.025+08',NULL,'127.0.0.1','I ','ceshi01',''),
  909. (0,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  910. spring:
  911. redis:
  912. host: localhost
  913. port: 6379
  914. password:
  915. datasource:
  916. druid:
  917. stat-view-servlet:
  918. enabled: true
  919. loginUsername: ruoyi
  920. loginPassword: 123456
  921. dynamic:
  922. druid:
  923. initial-size: 5
  924. min-idle: 5
  925. maxActive: 20
  926. maxWait: 60000
  927. connectTimeout: 30000
  928. socketTimeout: 60000
  929. timeBetweenEvictionRunsMillis: 60000
  930. minEvictableIdleTimeMillis: 300000
  931. validationQuery: SELECT 1 FROM DUAL
  932. testWhileIdle: true
  933. testOnBorrow: false
  934. testOnReturn: false
  935. poolPreparedStatements: true
  936. maxPoolPreparedStatementPerConnectionSize: 20
  937. filters: stat,slf4j
  938. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  939. datasource:
  940. # 主库数据源
  941. master:
  942. driver-class-name: com.mysql.cj.jdbc.Driver
  943. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  944. username: root
  945. password: password
  946. # 从库数据源
  947. # slave:
  948. # username:
  949. # password:
  950. # url:
  951. # driver-class-name:
  952. # mybatis配置
  953. mybatis:
  954. # 搜索指定包别名
  955. typeAliasesPackage: com.ruoyi.system
  956. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  957. mapperLocations: classpath:mapper/**/*.xml
  958. # springdoc配置
  959. springdoc:
  960. gatewayUrl: http://localhost:8080/${spring.application.name}
  961. api-docs:
  962. # 是否开启接口文档
  963. enabled: true
  964. info:
  965. # 标题
  966. title: ''系统模块接口文档''
  967. # 描述
  968. description: ''系统模块接口描述''
  969. # 作者信息
  970. contact:
  971. name: RuoYi
  972. url: https://ruoyi.vip
  973. ','786c7daf4543411fc65c3e48dfb15243','2025-01-08 15:31:12.148136+08','2025-01-08 15:31:11.036+08',NULL,'127.0.0.1','I ','ceshi01',''),
  974. (0,'ruoyi-gen-dev.yml','DEFAULT_GROUP','','# spring配置
  975. spring:
  976. redis:
  977. host: localhost
  978. port: 6379
  979. password:
  980. datasource:
  981. driver-class-name: com.mysql.cj.jdbc.Driver
  982. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  983. username: root
  984. password: password
  985. # mybatis配置
  986. mybatis:
  987. # 搜索指定包别名
  988. typeAliasesPackage: com.ruoyi.gen.domain
  989. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  990. mapperLocations: classpath:mapper/**/*.xml
  991. # springdoc配置
  992. springdoc:
  993. gatewayUrl: http://localhost:8080/${spring.application.name}
  994. api-docs:
  995. # 是否开启接口文档
  996. enabled: true
  997. info:
  998. # 标题
  999. title: ''代码生成接口文档''
  1000. # 描述
  1001. description: ''代码生成接口描述''
  1002. # 作者信息
  1003. contact:
  1004. name: RuoYi
  1005. url: https://ruoyi.vip
  1006. # 代码生成
  1007. gen:
  1008. # 作者
  1009. author: ruoyi
  1010. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  1011. packageName: com.ruoyi.system
  1012. # 自动去除表前缀,默认是false
  1013. autoRemovePre: false
  1014. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  1015. tablePrefix: sys_
  1016. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  1017. allowOverwrite: false','43d807aa0a4accbb193b6dc7e38ac8a3','2025-01-08 15:31:12.155463+08','2025-01-08 15:31:11.044+08',NULL,'127.0.0.1','I ','ceshi01',''),
  1018. (0,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  1019. spring:
  1020. redis:
  1021. host: localhost
  1022. port: 6379
  1023. password:
  1024. datasource:
  1025. driver-class-name: com.mysql.cj.jdbc.Driver
  1026. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1027. username: root
  1028. password: password
  1029. # mybatis配置
  1030. mybatis:
  1031. # 搜索指定包别名
  1032. typeAliasesPackage: com.ruoyi.job.domain
  1033. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1034. mapperLocations: classpath:mapper/**/*.xml
  1035. # springdoc配置
  1036. springdoc:
  1037. gatewayUrl: http://localhost:8080/${spring.application.name}
  1038. api-docs:
  1039. # 是否开启接口文档
  1040. enabled: true
  1041. info:
  1042. # 标题
  1043. title: ''定时任务接口文档''
  1044. # 描述
  1045. description: ''定时任务接口描述''
  1046. # 作者信息
  1047. contact:
  1048. name: RuoYi
  1049. url: https://ruoyi.vip
  1050. ','f78483f845777335b9ed4a9f84758848','2025-01-08 15:31:12.162596+08','2025-01-08 15:31:11.051+08',NULL,'127.0.0.1','I ','ceshi01',''),
  1051. (0,'ruoyi-file-dev.yml','DEFAULT_GROUP','','# 本地文件上传
  1052. file:
  1053. domain: http://127.0.0.1:9300
  1054. path: D:/ruoyi/uploadPath
  1055. prefix: /statics
  1056. # FastDFS配置
  1057. fdfs:
  1058. domain: http://8.129.231.12
  1059. soTimeout: 3000
  1060. connectTimeout: 2000
  1061. trackerList: 8.129.231.12:22122
  1062. # Minio配置
  1063. minio:
  1064. url: http://8.129.231.12:9000
  1065. accessKey: minioadmin
  1066. secretKey: minioadmin
  1067. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-08 15:31:12.169417+08','2025-01-08 15:31:11.059+08',NULL,'127.0.0.1','I ','ceshi01','');
  1068. INSERT INTO his_config_info (id,data_id,group_id,app_name,"content",md5,gmt_create,gmt_modified,src_user,src_ip,op_type,tenant_id,encrypted_data_key) VALUES
  1069. (0,'sentinel-ruoyi-gateway','DEFAULT_GROUP','','[
  1070. {
  1071. "resource": "ruoyi-auth",
  1072. "count": 500,
  1073. "grade": 1,
  1074. "limitApp": "default",
  1075. "strategy": 0,
  1076. "controlBehavior": 0
  1077. },
  1078. {
  1079. "resource": "ruoyi-system",
  1080. "count": 1000,
  1081. "grade": 1,
  1082. "limitApp": "default",
  1083. "strategy": 0,
  1084. "controlBehavior": 0
  1085. },
  1086. {
  1087. "resource": "ruoyi-gen",
  1088. "count": 200,
  1089. "grade": 1,
  1090. "limitApp": "default",
  1091. "strategy": 0,
  1092. "controlBehavior": 0
  1093. },
  1094. {
  1095. "resource": "ruoyi-job",
  1096. "count": 300,
  1097. "grade": 1,
  1098. "limitApp": "default",
  1099. "strategy": 0,
  1100. "controlBehavior": 0
  1101. }
  1102. ]','9f3a3069261598f74220bc47958ec252','2025-01-08 15:31:12.17702+08','2025-01-08 15:31:11.066+08',NULL,'127.0.0.1','I ','ceshi01',''),
  1103. (1,'12','DEFAULT_GROUP','','12','c20ad4d76fe97759aa27a0c99bff6710','2025-01-08 15:31:22.274735+08','2025-01-08 15:31:21.156+08','nacos','127.0.0.1','D ','ceshi01',''),
  1104. (2,'1','DEFAULT_GROUP','','2','c81e728d9d4c2f636f067f89cc14862c','2025-01-08 15:31:26.30891+08','2025-01-08 15:31:25.191+08','nacos','127.0.0.1','D ','ceshi01',''),
  1105. (3,'application-dev.yml','DEFAULT_GROUP','','spring:
  1106. autoconfigure:
  1107. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  1108. # feign 配置
  1109. feign:
  1110. sentinel:
  1111. enabled: true
  1112. okhttp:
  1113. enabled: true
  1114. httpclient:
  1115. enabled: false
  1116. client:
  1117. config:
  1118. default:
  1119. connectTimeout: 10000
  1120. readTimeout: 10000
  1121. compression:
  1122. request:
  1123. enabled: true
  1124. min-request-size: 8192
  1125. response:
  1126. enabled: true
  1127. # 暴露监控端点
  1128. management:
  1129. endpoints:
  1130. web:
  1131. exposure:
  1132. include: ''*''
  1133. ','9928f41dfb10386ad38b3254af5692e0','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1134. (4,'ruoyi-gateway-dev.yml','DEFAULT_GROUP','','spring:
  1135. redis:
  1136. host: localhost
  1137. port: 6379
  1138. password:
  1139. cloud:
  1140. gateway:
  1141. discovery:
  1142. locator:
  1143. lowerCaseServiceId: true
  1144. enabled: true
  1145. routes:
  1146. # 认证中心
  1147. - id: ruoyi-auth
  1148. uri: lb://ruoyi-auth
  1149. predicates:
  1150. - Path=/auth/**
  1151. filters:
  1152. # 验证码处理
  1153. - CacheRequestFilter
  1154. - ValidateCodeFilter
  1155. - StripPrefix=1
  1156. # 代码生成
  1157. - id: ruoyi-gen
  1158. uri: lb://ruoyi-gen
  1159. predicates:
  1160. - Path=/code/**
  1161. filters:
  1162. - StripPrefix=1
  1163. # 定时任务
  1164. - id: ruoyi-job
  1165. uri: lb://ruoyi-job
  1166. predicates:
  1167. - Path=/schedule/**
  1168. filters:
  1169. - StripPrefix=1
  1170. # 系统模块
  1171. - id: ruoyi-system
  1172. uri: lb://ruoyi-system
  1173. predicates:
  1174. - Path=/system/**
  1175. filters:
  1176. - StripPrefix=1
  1177. # 文件服务
  1178. - id: ruoyi-file
  1179. uri: lb://ruoyi-file
  1180. predicates:
  1181. - Path=/file/**
  1182. filters:
  1183. - StripPrefix=1
  1184. # 安全配置
  1185. security:
  1186. # 验证码
  1187. captcha:
  1188. enabled: true
  1189. type: math
  1190. # 防止XSS攻击
  1191. xss:
  1192. enabled: true
  1193. excludeUrls:
  1194. - /system/notice
  1195. # 不校验白名单
  1196. ignore:
  1197. whites:
  1198. - /auth/logout
  1199. - /auth/login
  1200. - /auth/register
  1201. - /*/v2/api-docs
  1202. - /*/v3/api-docs
  1203. - /csrf
  1204. # springdoc配置
  1205. springdoc:
  1206. webjars:
  1207. # 访问前缀
  1208. prefix:
  1209. ','4d329eb08a941a8dd9d26f542c6ac6c5','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1210. (5,'ruoyi-auth-dev.yml','DEFAULT_GROUP','','spring:
  1211. redis:
  1212. host: localhost
  1213. port: 6379
  1214. password:
  1215. ','a03e7632a0a74520eeb4fbedd6d82d97','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1216. (6,'ruoyi-monitor-dev.yml','DEFAULT_GROUP','','# spring
  1217. spring:
  1218. security:
  1219. user:
  1220. name: ruoyi
  1221. password: 123456
  1222. boot:
  1223. admin:
  1224. ui:
  1225. title: 若依服务状态监控
  1226. ','6f122fd2bfb8d45f858e7d6529a9cd44','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1227. (7,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  1228. spring:
  1229. redis:
  1230. host: localhost
  1231. port: 6379
  1232. password:
  1233. datasource:
  1234. druid:
  1235. stat-view-servlet:
  1236. enabled: true
  1237. loginUsername: ruoyi
  1238. loginPassword: 123456
  1239. dynamic:
  1240. druid:
  1241. initial-size: 5
  1242. min-idle: 5
  1243. maxActive: 20
  1244. maxWait: 60000
  1245. connectTimeout: 30000
  1246. socketTimeout: 60000
  1247. timeBetweenEvictionRunsMillis: 60000
  1248. minEvictableIdleTimeMillis: 300000
  1249. validationQuery: SELECT 1 FROM DUAL
  1250. testWhileIdle: true
  1251. testOnBorrow: false
  1252. testOnReturn: false
  1253. poolPreparedStatements: true
  1254. maxPoolPreparedStatementPerConnectionSize: 20
  1255. filters: stat,slf4j
  1256. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  1257. datasource:
  1258. # 主库数据源
  1259. master:
  1260. driver-class-name: com.mysql.cj.jdbc.Driver
  1261. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1262. username: root
  1263. password: password
  1264. # 从库数据源
  1265. # slave:
  1266. # username:
  1267. # password:
  1268. # url:
  1269. # driver-class-name:
  1270. # mybatis配置
  1271. mybatis:
  1272. # 搜索指定包别名
  1273. typeAliasesPackage: com.ruoyi.system
  1274. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1275. mapperLocations: classpath:mapper/**/*.xml
  1276. # springdoc配置
  1277. springdoc:
  1278. gatewayUrl: http://localhost:8080/${spring.application.name}
  1279. api-docs:
  1280. # 是否开启接口文档
  1281. enabled: true
  1282. info:
  1283. # 标题
  1284. title: ''系统模块接口文档''
  1285. # 描述
  1286. description: ''系统模块接口描述''
  1287. # 作者信息
  1288. contact:
  1289. name: RuoYi
  1290. url: https://ruoyi.vip
  1291. ','786c7daf4543411fc65c3e48dfb15243','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1292. (18,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  1293. spring:
  1294. redis:
  1295. host: localhost
  1296. port: 6379
  1297. password:
  1298. datasource:
  1299. driver-class-name: com.mysql.cj.jdbc.Driver
  1300. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1301. username: root
  1302. password: password
  1303. # mybatis配置
  1304. mybatis:
  1305. # 搜索指定包别名
  1306. typeAliasesPackage: com.ruoyi.job.domain
  1307. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1308. mapperLocations: classpath:mapper/postgresql/**/*.xml
  1309. # springdoc配置
  1310. springdoc:
  1311. gatewayUrl: http://localhost:8080/${spring.application.name}
  1312. api-docs:
  1313. # 是否开启接口文档
  1314. enabled: true
  1315. info:
  1316. # 标题
  1317. title: ''定时任务接口文档''
  1318. # 描述
  1319. description: ''定时任务接口描述''
  1320. # 作者信息
  1321. contact:
  1322. name: RuoYi
  1323. url: https://ruoyi.vip
  1324. ','d69276c47406a026588ad6a28d510536','2025-01-08 17:28:42.820813+08','2025-01-08 17:28:41.596+08','nacos','0:0:0:0:0:0:0:1','U ','rsmonitoring',''),
  1325. (8,'ruoyi-gen-dev.yml','DEFAULT_GROUP','','# spring配置
  1326. spring:
  1327. redis:
  1328. host: localhost
  1329. port: 6379
  1330. password:
  1331. datasource:
  1332. driver-class-name: com.mysql.cj.jdbc.Driver
  1333. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1334. username: root
  1335. password: password
  1336. # mybatis配置
  1337. mybatis:
  1338. # 搜索指定包别名
  1339. typeAliasesPackage: com.ruoyi.gen.domain
  1340. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1341. mapperLocations: classpath:mapper/**/*.xml
  1342. # springdoc配置
  1343. springdoc:
  1344. gatewayUrl: http://localhost:8080/${spring.application.name}
  1345. api-docs:
  1346. # 是否开启接口文档
  1347. enabled: true
  1348. info:
  1349. # 标题
  1350. title: ''代码生成接口文档''
  1351. # 描述
  1352. description: ''代码生成接口描述''
  1353. # 作者信息
  1354. contact:
  1355. name: RuoYi
  1356. url: https://ruoyi.vip
  1357. # 代码生成
  1358. gen:
  1359. # 作者
  1360. author: ruoyi
  1361. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  1362. packageName: com.ruoyi.system
  1363. # 自动去除表前缀,默认是false
  1364. autoRemovePre: false
  1365. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  1366. tablePrefix: sys_
  1367. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  1368. allowOverwrite: false','43d807aa0a4accbb193b6dc7e38ac8a3','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01','');
  1369. INSERT INTO his_config_info (id,data_id,group_id,app_name,"content",md5,gmt_create,gmt_modified,src_user,src_ip,op_type,tenant_id,encrypted_data_key) VALUES
  1370. (9,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  1371. spring:
  1372. redis:
  1373. host: localhost
  1374. port: 6379
  1375. password:
  1376. datasource:
  1377. driver-class-name: com.mysql.cj.jdbc.Driver
  1378. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1379. username: root
  1380. password: password
  1381. # mybatis配置
  1382. mybatis:
  1383. # 搜索指定包别名
  1384. typeAliasesPackage: com.ruoyi.job.domain
  1385. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1386. mapperLocations: classpath:mapper/**/*.xml
  1387. # springdoc配置
  1388. springdoc:
  1389. gatewayUrl: http://localhost:8080/${spring.application.name}
  1390. api-docs:
  1391. # 是否开启接口文档
  1392. enabled: true
  1393. info:
  1394. # 标题
  1395. title: ''定时任务接口文档''
  1396. # 描述
  1397. description: ''定时任务接口描述''
  1398. # 作者信息
  1399. contact:
  1400. name: RuoYi
  1401. url: https://ruoyi.vip
  1402. ','f78483f845777335b9ed4a9f84758848','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1403. (10,'ruoyi-file-dev.yml','DEFAULT_GROUP','','# 本地文件上传
  1404. file:
  1405. domain: http://127.0.0.1:9300
  1406. path: D:/ruoyi/uploadPath
  1407. prefix: /statics
  1408. # FastDFS配置
  1409. fdfs:
  1410. domain: http://8.129.231.12
  1411. soTimeout: 3000
  1412. connectTimeout: 2000
  1413. trackerList: 8.129.231.12:22122
  1414. # Minio配置
  1415. minio:
  1416. url: http://8.129.231.12:9000
  1417. accessKey: minioadmin
  1418. secretKey: minioadmin
  1419. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1420. (11,'sentinel-ruoyi-gateway','DEFAULT_GROUP','','[
  1421. {
  1422. "resource": "ruoyi-auth",
  1423. "count": 500,
  1424. "grade": 1,
  1425. "limitApp": "default",
  1426. "strategy": 0,
  1427. "controlBehavior": 0
  1428. },
  1429. {
  1430. "resource": "ruoyi-system",
  1431. "count": 1000,
  1432. "grade": 1,
  1433. "limitApp": "default",
  1434. "strategy": 0,
  1435. "controlBehavior": 0
  1436. },
  1437. {
  1438. "resource": "ruoyi-gen",
  1439. "count": 200,
  1440. "grade": 1,
  1441. "limitApp": "default",
  1442. "strategy": 0,
  1443. "controlBehavior": 0
  1444. },
  1445. {
  1446. "resource": "ruoyi-job",
  1447. "count": 300,
  1448. "grade": 1,
  1449. "limitApp": "default",
  1450. "strategy": 0,
  1451. "controlBehavior": 0
  1452. }
  1453. ]','9f3a3069261598f74220bc47958ec252','2025-01-08 15:31:52.804971+08','2025-01-08 15:31:51.689+08','nacos','127.0.0.1','D ','ceshi01',''),
  1454. (0,'application-dev.yml','DEFAULT_GROUP','','spring:
  1455. autoconfigure:
  1456. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  1457. # feign 配置
  1458. feign:
  1459. sentinel:
  1460. enabled: true
  1461. okhttp:
  1462. enabled: true
  1463. httpclient:
  1464. enabled: false
  1465. client:
  1466. config:
  1467. default:
  1468. connectTimeout: 10000
  1469. readTimeout: 10000
  1470. compression:
  1471. request:
  1472. enabled: true
  1473. min-request-size: 8192
  1474. response:
  1475. enabled: true
  1476. # 暴露监控端点
  1477. management:
  1478. endpoints:
  1479. web:
  1480. exposure:
  1481. include: ''*''
  1482. ','9928f41dfb10386ad38b3254af5692e0','2025-01-08 15:32:26.062168+08','2025-01-08 15:32:24.951+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1483. (0,'ruoyi-gateway-dev.yml','DEFAULT_GROUP','','spring:
  1484. redis:
  1485. host: localhost
  1486. port: 6379
  1487. password:
  1488. cloud:
  1489. gateway:
  1490. discovery:
  1491. locator:
  1492. lowerCaseServiceId: true
  1493. enabled: true
  1494. routes:
  1495. # 认证中心
  1496. - id: ruoyi-auth
  1497. uri: lb://ruoyi-auth
  1498. predicates:
  1499. - Path=/auth/**
  1500. filters:
  1501. # 验证码处理
  1502. - CacheRequestFilter
  1503. - ValidateCodeFilter
  1504. - StripPrefix=1
  1505. # 代码生成
  1506. - id: ruoyi-gen
  1507. uri: lb://ruoyi-gen
  1508. predicates:
  1509. - Path=/code/**
  1510. filters:
  1511. - StripPrefix=1
  1512. # 定时任务
  1513. - id: ruoyi-job
  1514. uri: lb://ruoyi-job
  1515. predicates:
  1516. - Path=/schedule/**
  1517. filters:
  1518. - StripPrefix=1
  1519. # 系统模块
  1520. - id: ruoyi-system
  1521. uri: lb://ruoyi-system
  1522. predicates:
  1523. - Path=/system/**
  1524. filters:
  1525. - StripPrefix=1
  1526. # 文件服务
  1527. - id: ruoyi-file
  1528. uri: lb://ruoyi-file
  1529. predicates:
  1530. - Path=/file/**
  1531. filters:
  1532. - StripPrefix=1
  1533. # 安全配置
  1534. security:
  1535. # 验证码
  1536. captcha:
  1537. enabled: true
  1538. type: math
  1539. # 防止XSS攻击
  1540. xss:
  1541. enabled: true
  1542. excludeUrls:
  1543. - /system/notice
  1544. # 不校验白名单
  1545. ignore:
  1546. whites:
  1547. - /auth/logout
  1548. - /auth/login
  1549. - /auth/register
  1550. - /*/v2/api-docs
  1551. - /*/v3/api-docs
  1552. - /csrf
  1553. # springdoc配置
  1554. springdoc:
  1555. webjars:
  1556. # 访问前缀
  1557. prefix:
  1558. ','4d329eb08a941a8dd9d26f542c6ac6c5','2025-01-08 15:32:26.074312+08','2025-01-08 15:32:24.962+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1559. (0,'ruoyi-auth-dev.yml','DEFAULT_GROUP','','spring:
  1560. redis:
  1561. host: localhost
  1562. port: 6379
  1563. password:
  1564. ','a03e7632a0a74520eeb4fbedd6d82d97','2025-01-08 15:32:26.080499+08','2025-01-08 15:32:24.969+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1565. (0,'ruoyi-monitor-dev.yml','DEFAULT_GROUP','','# spring
  1566. spring:
  1567. security:
  1568. user:
  1569. name: ruoyi
  1570. password: 123456
  1571. boot:
  1572. admin:
  1573. ui:
  1574. title: 若依服务状态监控
  1575. ','6f122fd2bfb8d45f858e7d6529a9cd44','2025-01-08 15:32:26.08712+08','2025-01-08 15:32:24.975+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1576. (0,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  1577. spring:
  1578. redis:
  1579. host: localhost
  1580. port: 6379
  1581. password:
  1582. datasource:
  1583. druid:
  1584. stat-view-servlet:
  1585. enabled: true
  1586. loginUsername: ruoyi
  1587. loginPassword: 123456
  1588. dynamic:
  1589. druid:
  1590. initial-size: 5
  1591. min-idle: 5
  1592. maxActive: 20
  1593. maxWait: 60000
  1594. connectTimeout: 30000
  1595. socketTimeout: 60000
  1596. timeBetweenEvictionRunsMillis: 60000
  1597. minEvictableIdleTimeMillis: 300000
  1598. validationQuery: SELECT 1 FROM DUAL
  1599. testWhileIdle: true
  1600. testOnBorrow: false
  1601. testOnReturn: false
  1602. poolPreparedStatements: true
  1603. maxPoolPreparedStatementPerConnectionSize: 20
  1604. filters: stat,slf4j
  1605. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  1606. datasource:
  1607. # 主库数据源
  1608. master:
  1609. driver-class-name: com.mysql.cj.jdbc.Driver
  1610. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1611. username: root
  1612. password: password
  1613. # 从库数据源
  1614. # slave:
  1615. # username:
  1616. # password:
  1617. # url:
  1618. # driver-class-name:
  1619. # mybatis配置
  1620. mybatis:
  1621. # 搜索指定包别名
  1622. typeAliasesPackage: com.ruoyi.system
  1623. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1624. mapperLocations: classpath:mapper/**/*.xml
  1625. # springdoc配置
  1626. springdoc:
  1627. gatewayUrl: http://localhost:8080/${spring.application.name}
  1628. api-docs:
  1629. # 是否开启接口文档
  1630. enabled: true
  1631. info:
  1632. # 标题
  1633. title: ''系统模块接口文档''
  1634. # 描述
  1635. description: ''系统模块接口描述''
  1636. # 作者信息
  1637. contact:
  1638. name: RuoYi
  1639. url: https://ruoyi.vip
  1640. ','786c7daf4543411fc65c3e48dfb15243','2025-01-08 15:32:26.094152+08','2025-01-08 15:32:24.982+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1641. (0,'ruoyi-gen-dev.yml','DEFAULT_GROUP','','# spring配置
  1642. spring:
  1643. redis:
  1644. host: localhost
  1645. port: 6379
  1646. password:
  1647. datasource:
  1648. driver-class-name: com.mysql.cj.jdbc.Driver
  1649. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1650. username: root
  1651. password: password
  1652. # mybatis配置
  1653. mybatis:
  1654. # 搜索指定包别名
  1655. typeAliasesPackage: com.ruoyi.gen.domain
  1656. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1657. mapperLocations: classpath:mapper/**/*.xml
  1658. # springdoc配置
  1659. springdoc:
  1660. gatewayUrl: http://localhost:8080/${spring.application.name}
  1661. api-docs:
  1662. # 是否开启接口文档
  1663. enabled: true
  1664. info:
  1665. # 标题
  1666. title: ''代码生成接口文档''
  1667. # 描述
  1668. description: ''代码生成接口描述''
  1669. # 作者信息
  1670. contact:
  1671. name: RuoYi
  1672. url: https://ruoyi.vip
  1673. # 代码生成
  1674. gen:
  1675. # 作者
  1676. author: ruoyi
  1677. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  1678. packageName: com.ruoyi.system
  1679. # 自动去除表前缀,默认是false
  1680. autoRemovePre: false
  1681. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  1682. tablePrefix: sys_
  1683. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  1684. allowOverwrite: false','43d807aa0a4accbb193b6dc7e38ac8a3','2025-01-08 15:32:26.101974+08','2025-01-08 15:32:24.99+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1685. (0,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  1686. spring:
  1687. redis:
  1688. host: localhost
  1689. port: 6379
  1690. password:
  1691. datasource:
  1692. driver-class-name: com.mysql.cj.jdbc.Driver
  1693. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1694. username: root
  1695. password: password
  1696. # mybatis配置
  1697. mybatis:
  1698. # 搜索指定包别名
  1699. typeAliasesPackage: com.ruoyi.job.domain
  1700. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1701. mapperLocations: classpath:mapper/**/*.xml
  1702. # springdoc配置
  1703. springdoc:
  1704. gatewayUrl: http://localhost:8080/${spring.application.name}
  1705. api-docs:
  1706. # 是否开启接口文档
  1707. enabled: true
  1708. info:
  1709. # 标题
  1710. title: ''定时任务接口文档''
  1711. # 描述
  1712. description: ''定时任务接口描述''
  1713. # 作者信息
  1714. contact:
  1715. name: RuoYi
  1716. url: https://ruoyi.vip
  1717. ','f78483f845777335b9ed4a9f84758848','2025-01-08 15:32:26.109507+08','2025-01-08 15:32:24.997+08',NULL,'127.0.0.1','I ','rsmonitoring','');
  1718. INSERT INTO his_config_info (id,data_id,group_id,app_name,"content",md5,gmt_create,gmt_modified,src_user,src_ip,op_type,tenant_id,encrypted_data_key) VALUES
  1719. (0,'ruoyi-file-dev.yml','DEFAULT_GROUP','','# 本地文件上传
  1720. file:
  1721. domain: http://127.0.0.1:9300
  1722. path: D:/ruoyi/uploadPath
  1723. prefix: /statics
  1724. # FastDFS配置
  1725. fdfs:
  1726. domain: http://8.129.231.12
  1727. soTimeout: 3000
  1728. connectTimeout: 2000
  1729. trackerList: 8.129.231.12:22122
  1730. # Minio配置
  1731. minio:
  1732. url: http://8.129.231.12:9000
  1733. accessKey: minioadmin
  1734. secretKey: minioadmin
  1735. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-08 15:32:26.115705+08','2025-01-08 15:32:25.003+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1736. (0,'sentinel-ruoyi-gateway','DEFAULT_GROUP','','[
  1737. {
  1738. "resource": "ruoyi-auth",
  1739. "count": 500,
  1740. "grade": 1,
  1741. "limitApp": "default",
  1742. "strategy": 0,
  1743. "controlBehavior": 0
  1744. },
  1745. {
  1746. "resource": "ruoyi-system",
  1747. "count": 1000,
  1748. "grade": 1,
  1749. "limitApp": "default",
  1750. "strategy": 0,
  1751. "controlBehavior": 0
  1752. },
  1753. {
  1754. "resource": "ruoyi-gen",
  1755. "count": 200,
  1756. "grade": 1,
  1757. "limitApp": "default",
  1758. "strategy": 0,
  1759. "controlBehavior": 0
  1760. },
  1761. {
  1762. "resource": "ruoyi-job",
  1763. "count": 300,
  1764. "grade": 1,
  1765. "limitApp": "default",
  1766. "strategy": 0,
  1767. "controlBehavior": 0
  1768. }
  1769. ]','9f3a3069261598f74220bc47958ec252','2025-01-08 15:32:26.122244+08','2025-01-08 15:32:25.01+08',NULL,'127.0.0.1','I ','rsmonitoring',''),
  1770. (16,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  1771. spring:
  1772. redis:
  1773. host: localhost
  1774. port: 6379
  1775. password:
  1776. datasource:
  1777. druid:
  1778. stat-view-servlet:
  1779. enabled: true
  1780. loginUsername: ruoyi
  1781. loginPassword: 123456
  1782. dynamic:
  1783. druid:
  1784. initial-size: 5
  1785. min-idle: 5
  1786. maxActive: 20
  1787. maxWait: 60000
  1788. connectTimeout: 30000
  1789. socketTimeout: 60000
  1790. timeBetweenEvictionRunsMillis: 60000
  1791. minEvictableIdleTimeMillis: 300000
  1792. validationQuery: SELECT 1 FROM DUAL
  1793. testWhileIdle: true
  1794. testOnBorrow: false
  1795. testOnReturn: false
  1796. poolPreparedStatements: true
  1797. maxPoolPreparedStatementPerConnectionSize: 20
  1798. filters: stat,slf4j
  1799. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  1800. datasource:
  1801. # 主库数据源
  1802. master:
  1803. driver-class-name: com.mysql.cj.jdbc.Driver
  1804. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1805. username: root
  1806. password: password
  1807. # 从库数据源
  1808. # slave:
  1809. # username:
  1810. # password:
  1811. # url:
  1812. # driver-class-name:
  1813. # mybatis配置
  1814. mybatis:
  1815. # 搜索指定包别名
  1816. typeAliasesPackage: com.ruoyi.system
  1817. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1818. mapperLocations: classpath:mapper/**/*.xml
  1819. # springdoc配置
  1820. springdoc:
  1821. gatewayUrl: http://localhost:8080/${spring.application.name}
  1822. api-docs:
  1823. # 是否开启接口文档
  1824. enabled: true
  1825. info:
  1826. # 标题
  1827. title: ''系统模块接口文档''
  1828. # 描述
  1829. description: ''系统模块接口描述''
  1830. # 作者信息
  1831. contact:
  1832. name: RuoYi
  1833. url: https://ruoyi.vip
  1834. ','786c7daf4543411fc65c3e48dfb15243','2025-01-08 15:50:55.812504+08','2025-01-08 15:50:54.674+08','nacos','127.0.0.1','U ','rsmonitoring',''),
  1835. (16,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  1836. spring:
  1837. redis:
  1838. host: localhost
  1839. port: 6379
  1840. password:
  1841. datasource:
  1842. druid:
  1843. stat-view-servlet:
  1844. enabled: true
  1845. loginUsername: ruoyi
  1846. loginPassword: 123456
  1847. dynamic:
  1848. druid:
  1849. initial-size: 5
  1850. min-idle: 5
  1851. maxActive: 20
  1852. maxWait: 60000
  1853. connectTimeout: 30000
  1854. socketTimeout: 60000
  1855. timeBetweenEvictionRunsMillis: 60000
  1856. minEvictableIdleTimeMillis: 300000
  1857. validationQuery: SELECT 1
  1858. testWhileIdle: true
  1859. testOnBorrow: false
  1860. testOnReturn: false
  1861. poolPreparedStatements: true
  1862. maxPoolPreparedStatementPerConnectionSize: 20
  1863. filters: stat,slf4j
  1864. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  1865. datasource:
  1866. # 主库数据源
  1867. # master:
  1868. # driver-class-name: com.mysql.cj.jdbc.Driver
  1869. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1870. # username: root
  1871. # password: password
  1872. master:
  1873. driver-class-name: org.postgresql.Driver
  1874. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  1875. username: postgres
  1876. password: postgis
  1877. # 从库数据源
  1878. # slave:
  1879. # username:
  1880. # password:
  1881. # url:
  1882. # driver-class-name:
  1883. # mybatis配置
  1884. mybatis:
  1885. # 搜索指定包别名
  1886. typeAliasesPackage: com.ruoyi.system
  1887. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1888. mapperLocations: classpath:mapper/**/*.xml
  1889. # springdoc配置
  1890. springdoc:
  1891. gatewayUrl: http://localhost:8080/${spring.application.name}
  1892. api-docs:
  1893. # 是否开启接口文档
  1894. enabled: true
  1895. info:
  1896. # 标题
  1897. title: ''系统模块接口文档''
  1898. # 描述
  1899. description: ''系统模块接口描述''
  1900. # 作者信息
  1901. contact:
  1902. name: RuoYi
  1903. url: https://ruoyi.vip
  1904. ','44b461bc529cb2ba64d4193e710e0e47','2025-01-08 16:21:26.092275+08','2025-01-08 16:21:24.871+08','nacos','127.0.0.1','U ','rsmonitoring',''),
  1905. (16,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  1906. spring:
  1907. redis:
  1908. host: localhost
  1909. port: 6379
  1910. password:
  1911. datasource:
  1912. druid:
  1913. stat-view-servlet:
  1914. enabled: true
  1915. loginUsername: ruoyi
  1916. loginPassword: 123456
  1917. dynamic:
  1918. druid:
  1919. initial-size: 5
  1920. min-idle: 5
  1921. maxActive: 20
  1922. maxWait: 60000
  1923. connectTimeout: 30000
  1924. socketTimeout: 60000
  1925. timeBetweenEvictionRunsMillis: 60000
  1926. minEvictableIdleTimeMillis: 300000
  1927. validationQuery: SELECT 1
  1928. testWhileIdle: true
  1929. testOnBorrow: false
  1930. testOnReturn: false
  1931. poolPreparedStatements: true
  1932. maxPoolPreparedStatementPerConnectionSize: 20
  1933. filters: stat,slf4j
  1934. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  1935. datasource:
  1936. # 主库数据源
  1937. # master:
  1938. # driver-class-name: com.mysql.cj.jdbc.Driver
  1939. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1940. # username: root
  1941. # password: password
  1942. master:
  1943. driver-class-name: org.postgresql.Driver
  1944. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  1945. username: postgres
  1946. password: postgis
  1947. # 从库数据源
  1948. # slave:
  1949. # username:
  1950. # password:
  1951. # url:
  1952. # driver-class-name:
  1953. # mybatis配置
  1954. mybatis:
  1955. # 搜索指定包别名
  1956. typeAliasesPackage: com.ruoyi.system
  1957. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1958. mapperLocations: classpath:mapper/system/postgresql/**/*.xml
  1959. # springdoc配置
  1960. springdoc:
  1961. gatewayUrl: http://localhost:8080/${spring.application.name}
  1962. api-docs:
  1963. # 是否开启接口文档
  1964. enabled: true
  1965. info:
  1966. # 标题
  1967. title: ''系统模块接口文档''
  1968. # 描述
  1969. description: ''系统模块接口描述''
  1970. # 作者信息
  1971. contact:
  1972. name: RuoYi
  1973. url: https://ruoyi.vip
  1974. ','8ddc112333af6c7ce872db65941e6d19','2025-01-08 17:07:34.287416+08','2025-01-08 17:07:33.075+08','nacos','0:0:0:0:0:0:0:1','U ','rsmonitoring',''),
  1975. (17,'ruoyi-gen-dev.yml','DEFAULT_GROUP','','# spring配置
  1976. spring:
  1977. redis:
  1978. host: localhost
  1979. port: 6379
  1980. password:
  1981. datasource:
  1982. driver-class-name: com.mysql.cj.jdbc.Driver
  1983. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  1984. username: root
  1985. password: password
  1986. # mybatis配置
  1987. mybatis:
  1988. # 搜索指定包别名
  1989. typeAliasesPackage: com.ruoyi.gen.domain
  1990. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  1991. mapperLocations: classpath:mapper/**/*.xml
  1992. # springdoc配置
  1993. springdoc:
  1994. gatewayUrl: http://localhost:8080/${spring.application.name}
  1995. api-docs:
  1996. # 是否开启接口文档
  1997. enabled: true
  1998. info:
  1999. # 标题
  2000. title: ''代码生成接口文档''
  2001. # 描述
  2002. description: ''代码生成接口描述''
  2003. # 作者信息
  2004. contact:
  2005. name: RuoYi
  2006. url: https://ruoyi.vip
  2007. # 代码生成
  2008. gen:
  2009. # 作者
  2010. author: ruoyi
  2011. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  2012. packageName: com.ruoyi.system
  2013. # 自动去除表前缀,默认是false
  2014. autoRemovePre: false
  2015. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  2016. tablePrefix: sys_
  2017. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  2018. allowOverwrite: false','43d807aa0a4accbb193b6dc7e38ac8a3','2025-01-08 17:12:38.996543+08','2025-01-08 17:12:37.775+08','nacos','0:0:0:0:0:0:0:1','U ','rsmonitoring',''),
  2019. (17,'ruoyi-gen-dev.yml','DEFAULT_GROUP','','# spring配置
  2020. spring:
  2021. redis:
  2022. host: localhost
  2023. port: 6379
  2024. password:
  2025. datasource:
  2026. driver-class-name: org.postgresql.Driver
  2027. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2028. username: postgres
  2029. password: postgis
  2030. # mybatis配置
  2031. mybatis:
  2032. # 搜索指定包别名
  2033. typeAliasesPackage: com.ruoyi.gen.domain
  2034. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2035. mapperLocations: classpath:mapper/**/*.xml
  2036. # springdoc配置
  2037. springdoc:
  2038. gatewayUrl: http://localhost:8080/${spring.application.name}
  2039. api-docs:
  2040. # 是否开启接口文档
  2041. enabled: true
  2042. info:
  2043. # 标题
  2044. title: ''代码生成接口文档''
  2045. # 描述
  2046. description: ''代码生成接口描述''
  2047. # 作者信息
  2048. contact:
  2049. name: RuoYi
  2050. url: https://ruoyi.vip
  2051. # 代码生成
  2052. gen:
  2053. # 作者
  2054. author: ruoyi
  2055. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  2056. packageName: com.ruoyi.system
  2057. # 自动去除表前缀,默认是false
  2058. autoRemovePre: false
  2059. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  2060. tablePrefix: sys_
  2061. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  2062. allowOverwrite: false','a75c93ff11715f5c9fffaa34aaa07c40','2025-01-08 17:15:17.683702+08','2025-01-08 17:15:16.463+08','nacos','0:0:0:0:0:0:0:1','U ','rsmonitoring',''),
  2063. (18,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  2064. spring:
  2065. redis:
  2066. host: localhost
  2067. port: 6379
  2068. password:
  2069. datasource:
  2070. driver-class-name: com.mysql.cj.jdbc.Driver
  2071. url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  2072. username: root
  2073. password: password
  2074. # mybatis配置
  2075. mybatis:
  2076. # 搜索指定包别名
  2077. typeAliasesPackage: com.ruoyi.job.domain
  2078. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2079. mapperLocations: classpath:mapper/**/*.xml
  2080. # springdoc配置
  2081. springdoc:
  2082. gatewayUrl: http://localhost:8080/${spring.application.name}
  2083. api-docs:
  2084. # 是否开启接口文档
  2085. enabled: true
  2086. info:
  2087. # 标题
  2088. title: ''定时任务接口文档''
  2089. # 描述
  2090. description: ''定时任务接口描述''
  2091. # 作者信息
  2092. contact:
  2093. name: RuoYi
  2094. url: https://ruoyi.vip
  2095. ','f78483f845777335b9ed4a9f84758848','2025-01-08 17:27:56.134696+08','2025-01-08 17:27:54.911+08','nacos','0:0:0:0:0:0:0:1','U ','rsmonitoring',''),
  2096. (0,'application-dev.yml','DEFAULT_GROUP','','spring:
  2097. autoconfigure:
  2098. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  2099. # feign 配置
  2100. feign:
  2101. sentinel:
  2102. enabled: true
  2103. okhttp:
  2104. enabled: true
  2105. httpclient:
  2106. enabled: false
  2107. client:
  2108. config:
  2109. default:
  2110. connectTimeout: 10000
  2111. readTimeout: 10000
  2112. compression:
  2113. request:
  2114. enabled: true
  2115. min-request-size: 8192
  2116. response:
  2117. enabled: true
  2118. # 暴露监控端点
  2119. management:
  2120. endpoints:
  2121. web:
  2122. exposure:
  2123. include: ''*''
  2124. ','9928f41dfb10386ad38b3254af5692e0','2025-01-09 08:39:15.72183+08','2025-01-09 08:39:13.835+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2125. (0,'ruoyi-gateway-dev.yml','DEFAULT_GROUP','','spring:
  2126. redis:
  2127. host: localhost
  2128. port: 6379
  2129. password:
  2130. cloud:
  2131. gateway:
  2132. discovery:
  2133. locator:
  2134. lowerCaseServiceId: true
  2135. enabled: true
  2136. routes:
  2137. # 认证中心
  2138. - id: ruoyi-auth
  2139. uri: lb://ruoyi-auth
  2140. predicates:
  2141. - Path=/auth/**
  2142. filters:
  2143. # 验证码处理
  2144. - CacheRequestFilter
  2145. - ValidateCodeFilter
  2146. - StripPrefix=1
  2147. # 代码生成
  2148. - id: ruoyi-gen
  2149. uri: lb://ruoyi-gen
  2150. predicates:
  2151. - Path=/code/**
  2152. filters:
  2153. - StripPrefix=1
  2154. # 定时任务
  2155. - id: ruoyi-job
  2156. uri: lb://ruoyi-job
  2157. predicates:
  2158. - Path=/schedule/**
  2159. filters:
  2160. - StripPrefix=1
  2161. # 系统模块
  2162. - id: ruoyi-system
  2163. uri: lb://ruoyi-system
  2164. predicates:
  2165. - Path=/system/**
  2166. filters:
  2167. - StripPrefix=1
  2168. # 文件服务
  2169. - id: ruoyi-file
  2170. uri: lb://ruoyi-file
  2171. predicates:
  2172. - Path=/file/**
  2173. filters:
  2174. - StripPrefix=1
  2175. # 安全配置
  2176. security:
  2177. # 验证码
  2178. captcha:
  2179. enabled: true
  2180. type: math
  2181. # 防止XSS攻击
  2182. xss:
  2183. enabled: true
  2184. excludeUrls:
  2185. - /system/notice
  2186. # 不校验白名单
  2187. ignore:
  2188. whites:
  2189. - /auth/logout
  2190. - /auth/login
  2191. - /auth/register
  2192. - /*/v2/api-docs
  2193. - /*/v3/api-docs
  2194. - /csrf
  2195. # springdoc配置
  2196. springdoc:
  2197. webjars:
  2198. # 访问前缀
  2199. prefix:
  2200. ','4d329eb08a941a8dd9d26f542c6ac6c5','2025-01-09 08:39:15.774443+08','2025-01-09 08:39:13.877+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei','');
  2201. INSERT INTO his_config_info (id,data_id,group_id,app_name,"content",md5,gmt_create,gmt_modified,src_user,src_ip,op_type,tenant_id,encrypted_data_key) VALUES
  2202. (0,'ruoyi-auth-dev.yml','DEFAULT_GROUP','','spring:
  2203. redis:
  2204. host: localhost
  2205. port: 6379
  2206. password:
  2207. ','a03e7632a0a74520eeb4fbedd6d82d97','2025-01-09 08:39:15.837044+08','2025-01-09 08:39:13.941+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2208. (0,'ruoyi-monitor-dev.yml','DEFAULT_GROUP','','# spring
  2209. spring:
  2210. security:
  2211. user:
  2212. name: ruoyi
  2213. password: 123456
  2214. boot:
  2215. admin:
  2216. ui:
  2217. title: 若依服务状态监控
  2218. ','6f122fd2bfb8d45f858e7d6529a9cd44','2025-01-09 08:39:15.884367+08','2025-01-09 08:39:14+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2219. (0,'ruoyi-file-dev.yml','DEFAULT_GROUP','','# 本地文件上传
  2220. file:
  2221. domain: http://127.0.0.1:9300
  2222. path: D:/ruoyi/uploadPath
  2223. prefix: /statics
  2224. # FastDFS配置
  2225. fdfs:
  2226. domain: http://8.129.231.12
  2227. soTimeout: 3000
  2228. connectTimeout: 2000
  2229. trackerList: 8.129.231.12:22122
  2230. # Minio配置
  2231. minio:
  2232. url: http://8.129.231.12:9000
  2233. accessKey: minioadmin
  2234. secretKey: minioadmin
  2235. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-09 08:39:15.930381+08','2025-01-09 08:39:14.035+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2236. (0,'ruoyi-gen-dev.yml','DEFAULT_GROUP','','# spring配置
  2237. spring:
  2238. redis:
  2239. host: localhost
  2240. port: 6379
  2241. password:
  2242. datasource:
  2243. driver-class-name: org.postgresql.Driver
  2244. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2245. username: postgres
  2246. password: postgis
  2247. # mybatis配置
  2248. mybatis:
  2249. # 搜索指定包别名
  2250. typeAliasesPackage: com.ruoyi.gen.domain
  2251. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2252. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2253. # springdoc配置
  2254. springdoc:
  2255. gatewayUrl: http://localhost:8080/${spring.application.name}
  2256. api-docs:
  2257. # 是否开启接口文档
  2258. enabled: true
  2259. info:
  2260. # 标题
  2261. title: ''代码生成接口文档''
  2262. # 描述
  2263. description: ''代码生成接口描述''
  2264. # 作者信息
  2265. contact:
  2266. name: RuoYi
  2267. url: https://ruoyi.vip
  2268. # 代码生成
  2269. gen:
  2270. # 作者
  2271. author: ruoyi
  2272. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  2273. packageName: com.ruoyi.system
  2274. # 自动去除表前缀,默认是false
  2275. autoRemovePre: false
  2276. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  2277. tablePrefix: sys_
  2278. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  2279. allowOverwrite: false','adaffd35363045dacb964ff6597b3f89','2025-01-09 08:39:15.976125+08','2025-01-09 08:39:14.078+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2280. (0,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  2281. spring:
  2282. redis:
  2283. host: localhost
  2284. port: 6379
  2285. password:
  2286. datasource:
  2287. driver-class-name: org.postgresql.Driver
  2288. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2289. username: postgres
  2290. password: postgis
  2291. # mybatis配置
  2292. mybatis:
  2293. # 搜索指定包别名
  2294. typeAliasesPackage: com.ruoyi.job.domain
  2295. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2296. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2297. # springdoc配置
  2298. springdoc:
  2299. gatewayUrl: http://localhost:8080/${spring.application.name}
  2300. api-docs:
  2301. # 是否开启接口文档
  2302. enabled: true
  2303. info:
  2304. # 标题
  2305. title: ''定时任务接口文档''
  2306. # 描述
  2307. description: ''定时任务接口描述''
  2308. # 作者信息
  2309. contact:
  2310. name: RuoYi
  2311. url: https://ruoyi.vip
  2312. ','2bad0f01e4b408ea949909cbbf3732ec','2025-01-09 08:39:15.998413+08','2025-01-09 08:39:14.1+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2313. (0,'sentinel-ruoyi-gateway','DEFAULT_GROUP','','[
  2314. {
  2315. "resource": "ruoyi-auth",
  2316. "count": 500,
  2317. "grade": 1,
  2318. "limitApp": "default",
  2319. "strategy": 0,
  2320. "controlBehavior": 0
  2321. },
  2322. {
  2323. "resource": "ruoyi-system",
  2324. "count": 1000,
  2325. "grade": 1,
  2326. "limitApp": "default",
  2327. "strategy": 0,
  2328. "controlBehavior": 0
  2329. },
  2330. {
  2331. "resource": "ruoyi-gen",
  2332. "count": 200,
  2333. "grade": 1,
  2334. "limitApp": "default",
  2335. "strategy": 0,
  2336. "controlBehavior": 0
  2337. },
  2338. {
  2339. "resource": "ruoyi-job",
  2340. "count": 300,
  2341. "grade": 1,
  2342. "limitApp": "default",
  2343. "strategy": 0,
  2344. "controlBehavior": 0
  2345. }
  2346. ]','9f3a3069261598f74220bc47958ec252','2025-01-09 08:39:16.00475+08','2025-01-09 08:39:14.107+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2347. (0,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  2348. spring:
  2349. redis:
  2350. host: localhost
  2351. port: 6379
  2352. password:
  2353. datasource:
  2354. druid:
  2355. stat-view-servlet:
  2356. enabled: true
  2357. loginUsername: ruoyi
  2358. loginPassword: 123456
  2359. dynamic:
  2360. druid:
  2361. initial-size: 5
  2362. min-idle: 5
  2363. maxActive: 20
  2364. maxWait: 60000
  2365. connectTimeout: 30000
  2366. socketTimeout: 60000
  2367. timeBetweenEvictionRunsMillis: 60000
  2368. minEvictableIdleTimeMillis: 300000
  2369. validationQuery: SELECT 1
  2370. testWhileIdle: true
  2371. testOnBorrow: false
  2372. testOnReturn: false
  2373. poolPreparedStatements: true
  2374. maxPoolPreparedStatementPerConnectionSize: 20
  2375. filters: stat,slf4j
  2376. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  2377. datasource:
  2378. # 主库数据源
  2379. # master:
  2380. # driver-class-name: com.mysql.cj.jdbc.Driver
  2381. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  2382. # username: root
  2383. # password: password
  2384. master:
  2385. driver-class-name: org.postgresql.Driver
  2386. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2387. username: postgres
  2388. password: postgis
  2389. # 从库数据源
  2390. # slave:
  2391. # username:
  2392. # password:
  2393. # url:
  2394. # driver-class-name:
  2395. # mybatis配置
  2396. mybatis:
  2397. # 搜索指定包别名
  2398. typeAliasesPackage: com.ruoyi.system
  2399. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2400. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2401. # springdoc配置
  2402. springdoc:
  2403. gatewayUrl: http://localhost:8080/${spring.application.name}
  2404. api-docs:
  2405. # 是否开启接口文档
  2406. enabled: true
  2407. info:
  2408. # 标题
  2409. title: ''系统模块接口文档''
  2410. # 描述
  2411. description: ''系统模块接口描述''
  2412. # 作者信息
  2413. contact:
  2414. name: RuoYi
  2415. url: https://ruoyi.vip
  2416. ','f16150ad0c2d77bdb1361de3c1c31515','2025-01-09 08:39:16.012303+08','2025-01-09 08:39:14.114+08',NULL,'0:0:0:0:0:0:0:1','I ','siwei',''),
  2417. (0,'siwei-system-dev.yml','DEFAULT_GROUP','','# spring配置
  2418. spring:
  2419. redis:
  2420. host: localhost
  2421. port: 6379
  2422. password:
  2423. datasource:
  2424. druid:
  2425. stat-view-servlet:
  2426. enabled: true
  2427. loginUsername: siwei
  2428. loginPassword: 123456
  2429. dynamic:
  2430. druid:
  2431. initial-size: 5
  2432. min-idle: 5
  2433. maxActive: 20
  2434. maxWait: 60000
  2435. connectTimeout: 30000
  2436. socketTimeout: 60000
  2437. timeBetweenEvictionRunsMillis: 60000
  2438. minEvictableIdleTimeMillis: 300000
  2439. validationQuery: SELECT 1
  2440. testWhileIdle: true
  2441. testOnBorrow: false
  2442. testOnReturn: false
  2443. poolPreparedStatements: true
  2444. maxPoolPreparedStatementPerConnectionSize: 20
  2445. filters: stat,slf4j
  2446. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  2447. datasource:
  2448. # 主库数据源
  2449. # master:
  2450. # driver-class-name: com.mysql.cj.jdbc.Driver
  2451. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  2452. # username: root
  2453. # password: password
  2454. master:
  2455. driver-class-name: org.postgresql.Driver
  2456. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2457. username: postgres
  2458. password: postgis
  2459. # 从库数据源
  2460. # slave:
  2461. # username:
  2462. # password:
  2463. # url:
  2464. # driver-class-name:
  2465. # mybatis配置
  2466. mybatis:
  2467. # 搜索指定包别名
  2468. typeAliasesPackage: com.siwei.system
  2469. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2470. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2471. # springdoc配置
  2472. springdoc:
  2473. gatewayUrl: http://localhost:8080/${spring.application.name}
  2474. api-docs:
  2475. # 是否开启接口文档
  2476. enabled: true
  2477. info:
  2478. # 标题
  2479. title: ''系统模块接口文档''
  2480. # 描述
  2481. description: ''系统模块接口描述''
  2482. # 作者信息
  2483. contact:
  2484. name: RuoYi
  2485. url: https://ruoyi.vip
  2486. ','4e3f8c4c251eb44c79e7d35e09279852','2025-01-09 08:42:57.633639+08','2025-01-09 08:42:55.731+08','nacos','0:0:0:0:0:0:0:1','I ','siwei',''),
  2487. (29,'ruoyi-system-dev.yml','DEFAULT_GROUP','','# spring配置
  2488. spring:
  2489. redis:
  2490. host: localhost
  2491. port: 6379
  2492. password:
  2493. datasource:
  2494. druid:
  2495. stat-view-servlet:
  2496. enabled: true
  2497. loginUsername: ruoyi
  2498. loginPassword: 123456
  2499. dynamic:
  2500. druid:
  2501. initial-size: 5
  2502. min-idle: 5
  2503. maxActive: 20
  2504. maxWait: 60000
  2505. connectTimeout: 30000
  2506. socketTimeout: 60000
  2507. timeBetweenEvictionRunsMillis: 60000
  2508. minEvictableIdleTimeMillis: 300000
  2509. validationQuery: SELECT 1
  2510. testWhileIdle: true
  2511. testOnBorrow: false
  2512. testOnReturn: false
  2513. poolPreparedStatements: true
  2514. maxPoolPreparedStatementPerConnectionSize: 20
  2515. filters: stat,slf4j
  2516. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  2517. datasource:
  2518. # 主库数据源
  2519. # master:
  2520. # driver-class-name: com.mysql.cj.jdbc.Driver
  2521. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  2522. # username: root
  2523. # password: password
  2524. master:
  2525. driver-class-name: org.postgresql.Driver
  2526. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2527. username: postgres
  2528. password: postgis
  2529. # 从库数据源
  2530. # slave:
  2531. # username:
  2532. # password:
  2533. # url:
  2534. # driver-class-name:
  2535. # mybatis配置
  2536. mybatis:
  2537. # 搜索指定包别名
  2538. typeAliasesPackage: com.ruoyi.system
  2539. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2540. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2541. # springdoc配置
  2542. springdoc:
  2543. gatewayUrl: http://localhost:8080/${spring.application.name}
  2544. api-docs:
  2545. # 是否开启接口文档
  2546. enabled: true
  2547. info:
  2548. # 标题
  2549. title: ''系统模块接口文档''
  2550. # 描述
  2551. description: ''系统模块接口描述''
  2552. # 作者信息
  2553. contact:
  2554. name: RuoYi
  2555. url: https://ruoyi.vip
  2556. ','f16150ad0c2d77bdb1361de3c1c31515','2025-01-09 08:43:03.672998+08','2025-01-09 08:43:01.768+08','nacos','0:0:0:0:0:0:0:1','D ','siwei',''),
  2557. (30,'siwei-system-dev.yml','DEFAULT_GROUP','','# spring配置
  2558. spring:
  2559. redis:
  2560. host: localhost
  2561. port: 6379
  2562. password:
  2563. datasource:
  2564. druid:
  2565. stat-view-servlet:
  2566. enabled: true
  2567. loginUsername: siwei
  2568. loginPassword: 123456
  2569. dynamic:
  2570. druid:
  2571. initial-size: 5
  2572. min-idle: 5
  2573. maxActive: 20
  2574. maxWait: 60000
  2575. connectTimeout: 30000
  2576. socketTimeout: 60000
  2577. timeBetweenEvictionRunsMillis: 60000
  2578. minEvictableIdleTimeMillis: 300000
  2579. validationQuery: SELECT 1
  2580. testWhileIdle: true
  2581. testOnBorrow: false
  2582. testOnReturn: false
  2583. poolPreparedStatements: true
  2584. maxPoolPreparedStatementPerConnectionSize: 20
  2585. filters: stat,slf4j
  2586. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  2587. datasource:
  2588. # 主库数据源
  2589. # master:
  2590. # driver-class-name: com.mysql.cj.jdbc.Driver
  2591. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  2592. # username: root
  2593. # password: password
  2594. master:
  2595. driver-class-name: org.postgresql.Driver
  2596. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2597. username: postgres
  2598. password: postgis
  2599. # 从库数据源
  2600. # slave:
  2601. # username:
  2602. # password:
  2603. # url:
  2604. # driver-class-name:
  2605. # mybatis配置
  2606. mybatis:
  2607. # 搜索指定包别名
  2608. typeAliasesPackage: com.siwei.system
  2609. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2610. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2611. # springdoc配置
  2612. springdoc:
  2613. gatewayUrl: http://localhost:8080/${spring.application.name}
  2614. api-docs:
  2615. # 是否开启接口文档
  2616. enabled: true
  2617. info:
  2618. # 标题
  2619. title: ''系统模块接口文档''
  2620. # 描述
  2621. description: ''系统模块接口描述''
  2622. # 作者信息
  2623. contact:
  2624. name: RuoYi
  2625. url: https://ruoyi.vip
  2626. ','4e3f8c4c251eb44c79e7d35e09279852','2025-01-09 09:00:15.892213+08','2025-01-09 09:00:13.999+08','nacos','0:0:0:0:0:0:0:1','U ','siwei','');
  2627. INSERT INTO his_config_info (id,data_id,group_id,app_name,"content",md5,gmt_create,gmt_modified,src_user,src_ip,op_type,tenant_id,encrypted_data_key) VALUES
  2628. (0,'siwei-auth-dev.yml','DEFAULT_GROUP','','spring:
  2629. redis:
  2630. host: localhost
  2631. port: 6379
  2632. password:
  2633. ','20be3cc71833cd1e62fb4792ef83332b','2025-01-09 09:29:22.32101+08','2025-01-09 09:29:20.419+08','nacos','0:0:0:0:0:0:0:1','I ','siwei',''),
  2634. (23,'ruoyi-auth-dev.yml','DEFAULT_GROUP','','spring:
  2635. redis:
  2636. host: localhost
  2637. port: 6379
  2638. password:
  2639. ','a03e7632a0a74520eeb4fbedd6d82d97','2025-01-09 09:30:22.080524+08','2025-01-09 09:30:20.168+08','nacos','0:0:0:0:0:0:0:1','D ','siwei',''),
  2640. (0,'siwei-gateway-dev.yml','DEFAULT_GROUP','','spring:
  2641. redis:
  2642. host: localhost
  2643. port: 6379
  2644. password:
  2645. cloud:
  2646. gateway:
  2647. discovery:
  2648. locator:
  2649. lowerCaseServiceId: true
  2650. enabled: true
  2651. routes:
  2652. # 认证中心
  2653. - id: ruoyi-auth
  2654. uri: lb://ruoyi-auth
  2655. predicates:
  2656. - Path=/auth/**
  2657. filters:
  2658. # 验证码处理
  2659. - CacheRequestFilter
  2660. - ValidateCodeFilter
  2661. - StripPrefix=1
  2662. # 代码生成
  2663. - id: ruoyi-gen
  2664. uri: lb://ruoyi-gen
  2665. predicates:
  2666. - Path=/code/**
  2667. filters:
  2668. - StripPrefix=1
  2669. # 定时任务
  2670. - id: ruoyi-job
  2671. uri: lb://ruoyi-job
  2672. predicates:
  2673. - Path=/schedule/**
  2674. filters:
  2675. - StripPrefix=1
  2676. # 系统模块
  2677. - id: ruoyi-system
  2678. uri: lb://ruoyi-system
  2679. predicates:
  2680. - Path=/system/**
  2681. filters:
  2682. - StripPrefix=1
  2683. # 文件服务
  2684. - id: ruoyi-file
  2685. uri: lb://ruoyi-file
  2686. predicates:
  2687. - Path=/file/**
  2688. filters:
  2689. - StripPrefix=1
  2690. # 安全配置
  2691. security:
  2692. # 验证码
  2693. captcha:
  2694. enabled: true
  2695. type: math
  2696. # 防止XSS攻击
  2697. xss:
  2698. enabled: true
  2699. excludeUrls:
  2700. - /system/notice
  2701. # 不校验白名单
  2702. ignore:
  2703. whites:
  2704. - /auth/logout
  2705. - /auth/login
  2706. - /auth/register
  2707. - /*/v2/api-docs
  2708. - /*/v3/api-docs
  2709. - /csrf
  2710. # springdoc配置
  2711. springdoc:
  2712. webjars:
  2713. # 访问前缀
  2714. prefix:
  2715. ','4e5585c6a80a82b346056a00d6efe588','2025-01-09 09:46:36.179415+08','2025-01-09 09:46:34.24+08','nacos','0:0:0:0:0:0:0:1','I ','siwei',''),
  2716. (22,'ruoyi-gateway-dev.yml','DEFAULT_GROUP','','spring:
  2717. redis:
  2718. host: localhost
  2719. port: 6379
  2720. password:
  2721. cloud:
  2722. gateway:
  2723. discovery:
  2724. locator:
  2725. lowerCaseServiceId: true
  2726. enabled: true
  2727. routes:
  2728. # 认证中心
  2729. - id: ruoyi-auth
  2730. uri: lb://ruoyi-auth
  2731. predicates:
  2732. - Path=/auth/**
  2733. filters:
  2734. # 验证码处理
  2735. - CacheRequestFilter
  2736. - ValidateCodeFilter
  2737. - StripPrefix=1
  2738. # 代码生成
  2739. - id: ruoyi-gen
  2740. uri: lb://ruoyi-gen
  2741. predicates:
  2742. - Path=/code/**
  2743. filters:
  2744. - StripPrefix=1
  2745. # 定时任务
  2746. - id: ruoyi-job
  2747. uri: lb://ruoyi-job
  2748. predicates:
  2749. - Path=/schedule/**
  2750. filters:
  2751. - StripPrefix=1
  2752. # 系统模块
  2753. - id: ruoyi-system
  2754. uri: lb://ruoyi-system
  2755. predicates:
  2756. - Path=/system/**
  2757. filters:
  2758. - StripPrefix=1
  2759. # 文件服务
  2760. - id: ruoyi-file
  2761. uri: lb://ruoyi-file
  2762. predicates:
  2763. - Path=/file/**
  2764. filters:
  2765. - StripPrefix=1
  2766. # 安全配置
  2767. security:
  2768. # 验证码
  2769. captcha:
  2770. enabled: true
  2771. type: math
  2772. # 防止XSS攻击
  2773. xss:
  2774. enabled: true
  2775. excludeUrls:
  2776. - /system/notice
  2777. # 不校验白名单
  2778. ignore:
  2779. whites:
  2780. - /auth/logout
  2781. - /auth/login
  2782. - /auth/register
  2783. - /*/v2/api-docs
  2784. - /*/v3/api-docs
  2785. - /csrf
  2786. # springdoc配置
  2787. springdoc:
  2788. webjars:
  2789. # 访问前缀
  2790. prefix:
  2791. ','4d329eb08a941a8dd9d26f542c6ac6c5','2025-01-09 09:47:20.09715+08','2025-01-09 09:47:18.152+08','nacos','0:0:0:0:0:0:0:1','D ','siwei',''),
  2792. (30,'siwei-system-dev.yml','DEFAULT_GROUP','','# spring配置
  2793. spring:
  2794. redis:
  2795. host: localhost
  2796. port: 6379
  2797. password:
  2798. datasource:
  2799. druid:
  2800. stat-view-servlet:
  2801. enabled: true
  2802. loginUsername: ruoyi
  2803. loginPassword: 123456
  2804. dynamic:
  2805. druid:
  2806. initial-size: 5
  2807. min-idle: 5
  2808. maxActive: 20
  2809. maxWait: 60000
  2810. connectTimeout: 30000
  2811. socketTimeout: 60000
  2812. timeBetweenEvictionRunsMillis: 60000
  2813. minEvictableIdleTimeMillis: 300000
  2814. validationQuery: SELECT 1
  2815. testWhileIdle: true
  2816. testOnBorrow: false
  2817. testOnReturn: false
  2818. poolPreparedStatements: true
  2819. maxPoolPreparedStatementPerConnectionSize: 20
  2820. filters: stat,slf4j
  2821. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  2822. datasource:
  2823. # 主库数据源
  2824. # master:
  2825. # driver-class-name: com.mysql.cj.jdbc.Driver
  2826. # url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  2827. # username: root
  2828. # password: password
  2829. master:
  2830. driver-class-name: org.postgresql.Driver
  2831. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2832. username: postgres
  2833. password: postgis
  2834. # 从库数据源
  2835. # slave:
  2836. # username:
  2837. # password:
  2838. # url:
  2839. # driver-class-name:
  2840. # mybatis配置
  2841. mybatis:
  2842. # 搜索指定包别名
  2843. typeAliasesPackage: com.ruoyi.system
  2844. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2845. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2846. # springdoc配置
  2847. springdoc:
  2848. gatewayUrl: http://localhost:8080/${spring.application.name}
  2849. api-docs:
  2850. # 是否开启接口文档
  2851. enabled: true
  2852. info:
  2853. # 标题
  2854. title: ''系统模块接口文档''
  2855. # 描述
  2856. description: ''系统模块接口描述''
  2857. # 作者信息
  2858. contact:
  2859. name: RuoYi
  2860. url: https://ruoyi.vip
  2861. ','f16150ad0c2d77bdb1361de3c1c31515','2025-01-09 10:27:35.221222+08','2025-01-09 10:27:33.281+08','nacos','0:0:0:0:0:0:0:1','U ','siwei',''),
  2862. (0,'siwei-file-dev.yml','DEFAULT_GROUP','','# 本地文件上传
  2863. file:
  2864. domain: http://127.0.0.1:9300
  2865. path: D:/ruoyi/uploadPath
  2866. prefix: /statics
  2867. # FastDFS配置
  2868. fdfs:
  2869. domain: http://8.129.231.12
  2870. soTimeout: 3000
  2871. connectTimeout: 2000
  2872. trackerList: 8.129.231.12:22122
  2873. # Minio配置
  2874. minio:
  2875. url: http://8.129.231.12:9000
  2876. accessKey: minioadmin
  2877. secretKey: minioadmin
  2878. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-09 11:12:34.213987+08','2025-01-09 11:12:32.237+08','nacos','0:0:0:0:0:0:0:1','I ','siwei',''),
  2879. (25,'ruoyi-file-dev.yml','DEFAULT_GROUP','','# 本地文件上传
  2880. file:
  2881. domain: http://127.0.0.1:9300
  2882. path: D:/ruoyi/uploadPath
  2883. prefix: /statics
  2884. # FastDFS配置
  2885. fdfs:
  2886. domain: http://8.129.231.12
  2887. soTimeout: 3000
  2888. connectTimeout: 2000
  2889. trackerList: 8.129.231.12:22122
  2890. # Minio配置
  2891. minio:
  2892. url: http://8.129.231.12:9000
  2893. accessKey: minioadmin
  2894. secretKey: minioadmin
  2895. bucketName: test','5382b93f3d8059d6068c0501fdd41195','2025-01-09 11:15:00.045738+08','2025-01-09 11:14:58.056+08','nacos','0:0:0:0:0:0:0:1','D ','siwei',''),
  2896. (27,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  2897. spring:
  2898. redis:
  2899. host: localhost
  2900. port: 6379
  2901. password:
  2902. datasource:
  2903. driver-class-name: org.postgresql.Driver
  2904. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2905. username: postgres
  2906. password: postgis
  2907. # mybatis配置
  2908. mybatis:
  2909. # 搜索指定包别名
  2910. typeAliasesPackage: com.ruoyi.job.domain
  2911. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2912. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2913. # springdoc配置
  2914. springdoc:
  2915. gatewayUrl: http://localhost:8080/${spring.application.name}
  2916. api-docs:
  2917. # 是否开启接口文档
  2918. enabled: true
  2919. info:
  2920. # 标题
  2921. title: ''定时任务接口文档''
  2922. # 描述
  2923. description: ''定时任务接口描述''
  2924. # 作者信息
  2925. contact:
  2926. name: RuoYi
  2927. url: https://ruoyi.vip
  2928. ','2bad0f01e4b408ea949909cbbf3732ec','2025-01-09 11:17:35.818934+08','2025-01-09 11:17:33.835+08','nacos','0:0:0:0:0:0:0:1','U ','siwei',''),
  2929. (0,'siwei-job-dev.yml','DEFAULT_GROUP','','# spring配置
  2930. spring:
  2931. redis:
  2932. host: localhost
  2933. port: 6379
  2934. password:
  2935. datasource:
  2936. driver-class-name: org.postgresql.Driver
  2937. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2938. username: postgres
  2939. password: postgis
  2940. # mybatis配置
  2941. mybatis:
  2942. # 搜索指定包别名
  2943. typeAliasesPackage: com.siwei.job.domain
  2944. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2945. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2946. # springdoc配置
  2947. springdoc:
  2948. gatewayUrl: http://localhost:8080/${spring.application.name}
  2949. api-docs:
  2950. # 是否开启接口文档
  2951. enabled: true
  2952. info:
  2953. # 标题
  2954. title: ''定时任务接口文档''
  2955. # 描述
  2956. description: ''定时任务接口描述''
  2957. # 作者信息
  2958. contact:
  2959. name: RuoYi
  2960. url: https://ruoyi.vip
  2961. ','3f01395601b2099914b52427e288ab98','2025-01-09 11:19:08.32646+08','2025-01-09 11:19:06.335+08','nacos','0:0:0:0:0:0:0:1','I ','siwei',''),
  2962. (27,'ruoyi-job-dev.yml','DEFAULT_GROUP','','# spring配置
  2963. spring:
  2964. redis:
  2965. host: localhost
  2966. port: 6379
  2967. password:
  2968. datasource:
  2969. driver-class-name: org.postgresql.Driver
  2970. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  2971. username: postgres
  2972. password: postgis
  2973. # mybatis配置
  2974. mybatis:
  2975. # 搜索指定包别名
  2976. typeAliasesPackage: com.siwei.job.domain
  2977. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  2978. mapperLocations: classpath:mapper/postgresql/**/*.xml
  2979. # springdoc配置
  2980. springdoc:
  2981. gatewayUrl: http://localhost:8080/${spring.application.name}
  2982. api-docs:
  2983. # 是否开启接口文档
  2984. enabled: true
  2985. info:
  2986. # 标题
  2987. title: ''定时任务接口文档''
  2988. # 描述
  2989. description: ''定时任务接口描述''
  2990. # 作者信息
  2991. contact:
  2992. name: RuoYi
  2993. url: https://ruoyi.vip
  2994. ','27b1943f8e1683983ea511bc7a6f7076','2025-01-09 13:45:17.460433+08','2025-01-09 13:45:17.415+08','nacos','0:0:0:0:0:0:0:1','D ','siwei','');
  2995. INSERT INTO his_config_info (id,data_id,group_id,app_name,"content",md5,gmt_create,gmt_modified,src_user,src_ip,op_type,tenant_id,encrypted_data_key) VALUES
  2996. (26,'ruoyi-gen-dev.yml','DEFAULT_GROUP','','# spring配置
  2997. spring:
  2998. redis:
  2999. host: localhost
  3000. port: 6379
  3001. password:
  3002. datasource:
  3003. driver-class-name: org.postgresql.Driver
  3004. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=ry-cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  3005. username: postgres
  3006. password: postgis
  3007. # mybatis配置
  3008. mybatis:
  3009. # 搜索指定包别名
  3010. typeAliasesPackage: com.ruoyi.gen.domain
  3011. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  3012. mapperLocations: classpath:mapper/postgresql/**/*.xml
  3013. # springdoc配置
  3014. springdoc:
  3015. gatewayUrl: http://localhost:8080/${spring.application.name}
  3016. api-docs:
  3017. # 是否开启接口文档
  3018. enabled: true
  3019. info:
  3020. # 标题
  3021. title: ''代码生成接口文档''
  3022. # 描述
  3023. description: ''代码生成接口描述''
  3024. # 作者信息
  3025. contact:
  3026. name: RuoYi
  3027. url: https://ruoyi.vip
  3028. # 代码生成
  3029. gen:
  3030. # 作者
  3031. author: ruoyi
  3032. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  3033. packageName: com.ruoyi.system
  3034. # 自动去除表前缀,默认是false
  3035. autoRemovePre: false
  3036. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  3037. tablePrefix: sys_
  3038. # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  3039. allowOverwrite: false','adaffd35363045dacb964ff6597b3f89','2025-01-09 13:46:17.437555+08','2025-01-09 13:46:17.392+08','nacos','0:0:0:0:0:0:0:1','D ','siwei',''),
  3040. (0,'siwei-monitor-dev.yml','DEFAULT_GROUP','','# spring
  3041. spring:
  3042. security:
  3043. user:
  3044. name: siwei
  3045. password: 123456
  3046. boot:
  3047. admin:
  3048. ui:
  3049. title: 若依服务状态监控
  3050. ','2e1bb8d9ed9c6e404094316b311db2ea','2025-01-09 13:47:04.096673+08','2025-01-09 13:47:04.063+08','nacos','0:0:0:0:0:0:0:1','I ','siwei',''),
  3051. (24,'ruoyi-monitor-dev.yml','DEFAULT_GROUP','','# spring
  3052. spring:
  3053. security:
  3054. user:
  3055. name: ruoyi
  3056. password: 123456
  3057. boot:
  3058. admin:
  3059. ui:
  3060. title: 若依服务状态监控
  3061. ','6f122fd2bfb8d45f858e7d6529a9cd44','2025-01-09 13:51:22.545136+08','2025-01-09 13:51:22.482+08','nacos','0:0:0:0:0:0:0:1','D ','siwei',''),
  3062. (32,'siwei-gateway-dev.yml','DEFAULT_GROUP','','spring:
  3063. redis:
  3064. host: localhost
  3065. port: 6379
  3066. password:
  3067. cloud:
  3068. gateway:
  3069. discovery:
  3070. locator:
  3071. lowerCaseServiceId: true
  3072. enabled: true
  3073. routes:
  3074. # 认证中心
  3075. - id: ruoyi-auth
  3076. uri: lb://ruoyi-auth
  3077. predicates:
  3078. - Path=/auth/**
  3079. filters:
  3080. # 验证码处理
  3081. - CacheRequestFilter
  3082. - ValidateCodeFilter
  3083. - StripPrefix=1
  3084. # 代码生成
  3085. - id: ruoyi-gen
  3086. uri: lb://ruoyi-gen
  3087. predicates:
  3088. - Path=/code/**
  3089. filters:
  3090. - StripPrefix=1
  3091. # 定时任务
  3092. - id: ruoyi-job
  3093. uri: lb://ruoyi-job
  3094. predicates:
  3095. - Path=/schedule/**
  3096. filters:
  3097. - StripPrefix=1
  3098. # 系统模块
  3099. - id: ruoyi-system
  3100. uri: lb://ruoyi-system
  3101. predicates:
  3102. - Path=/system/**
  3103. filters:
  3104. - StripPrefix=1
  3105. # 文件服务
  3106. - id: ruoyi-file
  3107. uri: lb://ruoyi-file
  3108. predicates:
  3109. - Path=/file/**
  3110. filters:
  3111. - StripPrefix=1
  3112. # 安全配置
  3113. security:
  3114. # 验证码
  3115. captcha:
  3116. enabled: true
  3117. type: math
  3118. # 防止XSS攻击
  3119. xss:
  3120. enabled: true
  3121. excludeUrls:
  3122. - /system/notice
  3123. # 不校验白名单
  3124. ignore:
  3125. whites:
  3126. - /auth/logout
  3127. - /auth/login
  3128. - /auth/register
  3129. - /*/v2/api-docs
  3130. - /*/v3/api-docs
  3131. - /csrf
  3132. # springdoc配置
  3133. springdoc:
  3134. webjars:
  3135. # 访问前缀
  3136. prefix:
  3137. ','4e5585c6a80a82b346056a00d6efe588','2025-01-09 14:36:12.976293+08','2025-01-09 14:36:12.951+08','nacos','0:0:0:0:0:0:0:1','U ','siwei','');
  3138. INSERT INTO roles (username,"role") VALUES
  3139. ('nacos','ROLE_ADMIN');
  3140. INSERT INTO tenant_info (kp,tenant_id,tenant_name,tenant_desc,create_source,gmt_create,gmt_modified) VALUES
  3141. ('1','rsmonitoring','rsmonitoring','rsmonitoring','nacos',1736321533709,1736321533709),
  3142. ('1','siwei','siwei','siwei','nacos',1736383134026,1736383134026);
  3143. INSERT INTO users (username,"password",enabled) VALUES
  3144. ('nacos','$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu',true);