application-dev.yml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # 这是老项目软工二后端的配置,仅作参考,不是此项目的配置
  2. spring:
  3. # datasource:
  4. # # url: jdbc:mysql://192.168.68.76:13306/seecoder_ii?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
  5. # url: jdbc:mysql://localhost:3306/seecoder?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
  6. ## url: jdbc:mysql://218.94.159.108:13306/seec_ii?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  7. # username: root
  8. # password: 123456
  9. jpa:
  10. hibernate:
  11. ddl-auto: update
  12. naming:
  13. implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  14. physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
  15. database-platform: org.hibernate.dialect.MySQL57InnoDBDialect
  16. security:
  17. user:
  18. name: root
  19. password: NJU67software
  20. mail:
  21. host: smtp.163.com
  22. username: seecoder@163.com
  23. password: seec67NJU
  24. properties:
  25. mail:
  26. smtp:
  27. auth: true
  28. socketFactory:
  29. class: javax.net.ssl.SSLSocketFactory
  30. port: 465
  31. starttls:
  32. enable: true
  33. required: true
  34. resources:
  35. chain:
  36. strategy:
  37. content:
  38. enabled: true
  39. paths:
  40. - /moocoder-frontend/**
  41. - /js/**
  42. - /css/**
  43. servlet:
  44. multipart:
  45. max-file-size: 16MB
  46. max-request-size: 16MB
  47. redis:
  48. host: http://192.168.68.76
  49. port: 6379
  50. password: NJU67redis
  51. timeout: 1000
  52. database: 0
  53. lettuce:
  54. pool:
  55. min-idle: 5
  56. max-active: 8
  57. max-idle: 10
  58. max-wait: 1ms
  59. shutdown-timeout: 100ms
  60. server:
  61. port: 8080
  62. tomcat:
  63. remote-ip-header: X-Forwarded-For
  64. protocol-header: X-Forwarded-Proto
  65. servlet:
  66. session:
  67. persistent: true
  68. store-dir: ${java.io.tmpdir}/moocoder-session
  69. timeout: 1d
  70. use-forward-headers: true
  71. management:
  72. endpoints:
  73. web:
  74. base-path: /api/actuator
  75. endpoint:
  76. shutdown:
  77. enabled: true
  78. moocoder:
  79. secret: 1qaz2wsx
  80. auth:
  81. signingKey: SEEC-1919810-OIDC-114514
  82. iss: p.seecoder.cn
  83. aud: seec-seec
  84. portal: http://p.seecoder.cn/api/interaction
  85. redirectUri: http://seec.seecoder.cn/api/auth/receive
  86. gitlab:
  87. host: http://gitlab.seec.seecoder.cn
  88. git-proxy: http://gitlab.seec.seecoder.cn
  89. webHookProxy: http://localhost:3000
  90. username: root
  91. token: x7Hwx-zq8LFkHznGku9a
  92. jenkins:
  93. host: http://192.168.68.79:8082
  94. username: root
  95. token: 11d7b9e4c1acac481904c25813e2ec1f0a
  96. baseImage: 172.19.51.9:18082/build-base
  97. docker:
  98. registry: 192.168.68.79:18082
  99. mail:
  100. from: seecoder@163.com
  101. storage:
  102. type: local
  103. properties:
  104. location: ./problem
  105. k8s:
  106. api-server: https://192.168.68.76:6443
  107. token: eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJhZG1pbi10b2tlbi1zdzlwOCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJhZG1pbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImY3MzQ2NzVlLWZmYmItMTFlOS1iYTdjLTIyNmUyZmY2ZTdlYyIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlLXN5c3RlbTphZG1pbiJ9.GvBP7iNM_WNJN7dPm8ZPszDJeykifhHwBYcF58c4W73iAet1ZcZPrmiurqn4mSHcavUHNR8FqPaafnS3OD4eq5dR-i7frdIBt7yiME7AIGA4pDKWNJ3NykhyfG75omCvtQ2Gp-UvFIdf_4peAilxbwDR2NtWpky4sJQOTukZIYzN9fCeYV8My85XDBl7ze20QBsEKfPxTGZkqmytX-4VmjKkQH9ob7YB90NR2ug5VK8CA16_2ZPjf8Fx4QsdTbkyZKdFo7zIrIID0fa2lpOc2TpCKWeYCl335-ULllpxds6kiVwkRXYP-5zkIOfpI_0SshK7kbBjd238OLM3KFDf6A
  108. ingress-host: seecii.cn
  109. public-namespace: dev
  110. public-mysql-url: jdbc:mysql://seecii-mysql.dev.svc.cluster.local:3306
  111. public-mysql-pod: seecii-mysql-579dc7c857-8m2fd
  112. public-mysql-username: root
  113. public-mysql-password: NJU67software
  114. debugging: true
  115. registry:
  116. host: 192.168.68.79:18082
  117. username: admin
  118. password: admin123
  119. nexus-server: 192.168.68.79:18081
  120. repo-name: sec-repo
  121. clean-up-task: 83bb8249-71e8-4367-83b3-50c6f7518860