Commit da5cc8d1 authored by 杨翌文's avatar 杨翌文

feature:初始化配置

parent eae5ca6a
Pipeline #736 canceled with stages
...@@ -2,9 +2,6 @@ spring: ...@@ -2,9 +2,6 @@ spring:
application: application:
name: exam-master name: exam-master
datasource: datasource:
username: future
password: future123456
url: jdbc:mysql://125.94.43.20:30306/pilot?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&allowMultiQueries=true
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
druid: druid:
initial-size: 20 initial-size: 20
...@@ -24,10 +21,30 @@ openai: ...@@ -24,10 +21,30 @@ openai:
api-keys: api-keys:
- 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 - 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
- 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 - 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
---
server: server:
port: 8050 port: 8050
---
spring: spring:
config: config:
activate: activate:
on-profile: default on-profile: default
datasource:
username: future
password: future123456
url: jdbc:mysql://125.94.43.20:30306/pilot?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&allowMultiQueries=true
---
spring:
config:
activate:
on-profile: prd
datasource:
username: future
password: future123456
url: jdbc:mysql://clb-rds-mysql.infra:3306/pilot?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&allowMultiQueries=true
data:
redis:
password: future123456
host: redis-standalone.infra
port: 6379
database: 6
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment