application-dev.yml 4.0 KB

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