config.docker.yaml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. aliyun-oss:
  2. endpoint: yourEndpoint
  3. access-key-id: yourAccessKeyId
  4. access-key-secret: yourAccessKeySecret
  5. bucket-name: yourBucketName
  6. bucket-url: yourBucketUrl
  7. base-path: yourBasePath
  8. autocode:
  9. server-model: /model/%s
  10. server-router: /router/%s
  11. server: /server
  12. server-api: /api/v1/%s
  13. server-plug: /plugin/%s
  14. server-initialize: /initialize
  15. root: D:\go\project\meinong
  16. web-table: /view
  17. web: /web/src
  18. server-service: /service/%s
  19. server-request: /model/%s/request/
  20. web-api: /api
  21. web-form: /view
  22. transfer-restart: true
  23. aws-s3:
  24. bucket: xxxxx-10005608
  25. region: ap-shanghai
  26. endpoint: ""
  27. secret-id: your-secret-id
  28. secret-key: your-secret-key
  29. base-url: https://gin.vue.admin
  30. path-prefix: github.com/flipped-aurora/gin-vue-admin/server
  31. s3-force-path-style: false
  32. disable-ssl: false
  33. captcha:
  34. key-long: 6
  35. img-width: 240
  36. img-height: 80
  37. open-captcha: 0
  38. open-captcha-timeout: 3600
  39. cors:
  40. mode: strict-whitelist
  41. whitelist:
  42. - allow-origin: example1.com
  43. allow-methods: POST, GET
  44. allow-headers: Content-Type,AccessToken,X-CSRF-Token, Authorization, Token,X-Token,X-User-Id
  45. expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type
  46. allow-credentials: true
  47. - allow-origin: example2.com
  48. allow-methods: GET, POST
  49. allow-headers: content-type
  50. expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type
  51. allow-credentials: true
  52. db-list:
  53. - type: ""
  54. alias-name: ""
  55. prefix: ""
  56. port: ""
  57. config: ""
  58. db-name: ""
  59. username: ""
  60. password: ""
  61. path: ""
  62. engine: ""
  63. log-mode: ""
  64. max-idle-conns: 10
  65. max-open-conns: 100
  66. singular: false
  67. log-zap: false
  68. disable: true
  69. email:
  70. to: xxx@qq.com
  71. from: xxx@163.com
  72. host: smtp.163.com
  73. secret: xxx
  74. nickname: test
  75. port: 465
  76. is-ssl: true
  77. excel:
  78. dir: ./resource/excel/
  79. hua-wei-obs:
  80. path: you-path
  81. bucket: you-bucket
  82. endpoint: you-endpoint
  83. access-key: you-access-key
  84. secret-key: you-secret-key
  85. jwt:
  86. signing-key: 8a2aec08-6779-4c02-be51-34ff3b76fd57
  87. expires-time: 7d
  88. buffer-time: 1d
  89. issuer: qmPlus
  90. local:
  91. path: uploads/file
  92. store-path: uploads/file
  93. mssql:
  94. prefix: ""
  95. port: ""
  96. config: ""
  97. db-name: ""
  98. username: ""
  99. password: ""
  100. path: ""
  101. engine: ""
  102. log-mode: ""
  103. max-idle-conns: 10
  104. max-open-conns: 100
  105. singular: false
  106. log-zap: false
  107. mysql:
  108. prefix: ""
  109. port: "3306"
  110. config: charset=utf8mb4&parseTime=True&loc=Local
  111. db-name: edgedb
  112. username: edgedb
  113. password: edgedb
  114. path: mysql
  115. engine: ""
  116. log-mode: error
  117. max-idle-conns: 10
  118. max-open-conns: 100
  119. singular: false
  120. log-zap: false
  121. oracle:
  122. prefix: ""
  123. port: ""
  124. config: ""
  125. db-name: ""
  126. username: ""
  127. password: ""
  128. path: ""
  129. engine: ""
  130. log-mode: ""
  131. max-idle-conns: 10
  132. max-open-conns: 100
  133. singular: false
  134. log-zap: false
  135. pgsql:
  136. prefix: ""
  137. port: ""
  138. config: ""
  139. db-name: ""
  140. username: ""
  141. password: ""
  142. path: ""
  143. engine: ""
  144. log-mode: ""
  145. max-idle-conns: 10
  146. max-open-conns: 100
  147. singular: false
  148. log-zap: false
  149. qiniu:
  150. zone: ZoneHuaDong
  151. bucket: ""
  152. img-path: ""
  153. access-key: ""
  154. secret-key: ""
  155. use-https: false
  156. use-cdn-domains: false
  157. redis:
  158. addr: redis:6379
  159. password: ""
  160. db: 0
  161. sqlite:
  162. prefix: ""
  163. port: ""
  164. config: ""
  165. db-name: ""
  166. username: ""
  167. password: ""
  168. path: ""
  169. engine: ""
  170. log-mode: ""
  171. max-idle-conns: 10
  172. max-open-conns: 100
  173. singular: false
  174. log-zap: false
  175. system:
  176. env: public
  177. db-type: mysql
  178. oss-type: local
  179. router-prefix: ""
  180. addr: 8888
  181. iplimit-count: 15000
  182. iplimit-time: 3600
  183. use-multipoint: false
  184. use-redis: true
  185. mod: local
  186. company_key: ssssss
  187. tencent-cos:
  188. bucket: xxxxx-10005608
  189. region: ap-shanghai
  190. secret-id: your-secret-id
  191. secret-key: your-secret-key
  192. base-url: https://gin.vue.admin
  193. path-prefix: github.com/flipped-aurora/gin-vue-admin/server
  194. timer:
  195. spec: '@daily'
  196. detail:
  197. - tableName: sys_operation_records
  198. compareField: created_at
  199. interval: 2160h
  200. - tableName: jwt_blacklists
  201. compareField: created_at
  202. interval: 168h
  203. start: true
  204. with_seconds: false
  205. zap:
  206. level: info
  207. prefix: '[github.com/flipped-aurora/gin-vue-admin/server]'
  208. format: console
  209. director: log
  210. encode-level: LowercaseColorLevelEncoder
  211. stacktrace-key: stacktrace
  212. max-age: 0
  213. show-line: true
  214. log-in-console: true
  215. mongodb:
  216. dbname: edgedb
  217. local_db: edgedb
  218. cloud_db: edgedb2
  219. user: admin
  220. password: admin123
  221. hosts:
  222. - mongodb:27017
  223. kafka:
  224. needNotify: true
  225. notifyUrl: "http://sync-server-web/api/xiekeyun/callBack"
  226. notifyMax: 10
  227. hosts:
  228. - 47.99.98.85:9092