上传配置文件
This commit is contained in:
60
manifest/config/config.yaml
Normal file
60
manifest/config/config.yaml
Normal file
@ -0,0 +1,60 @@
|
||||
# Server configuration.
|
||||
server:
|
||||
address: ":9010"
|
||||
openapiPath: "/api.json"
|
||||
swaggerPath: "/swagger"
|
||||
|
||||
# Logger configuration.
|
||||
logger:
|
||||
level : "all"
|
||||
stdout: true
|
||||
|
||||
# Database configuration.
|
||||
database:
|
||||
logger:
|
||||
level: "all"
|
||||
stdout: true
|
||||
default:
|
||||
link: "mysql:root:MSms0427@tcp(127.0.0.1:3306)/novel?loc=Local&charset=utf8mb4"
|
||||
debug: true
|
||||
|
||||
# Redis configuration.
|
||||
redis:
|
||||
default:
|
||||
address: "127.0.0.1:6379"
|
||||
|
||||
# Casbin model
|
||||
casbin:
|
||||
modelPath: "./manifest/config/rbac_model.conf"
|
||||
|
||||
#OSS配置
|
||||
oss:
|
||||
aliyun:
|
||||
bucket: "arenaxx"
|
||||
key: "LTAI4FhJV8uQvgSzviJ5tgcP"
|
||||
secret: "Zc5E5CO4fqsXTIFsq4SHIaaXO4beJm"
|
||||
endpoint: "oss-us-east-1.aliyuncs.com"
|
||||
|
||||
# Email
|
||||
email:
|
||||
username: "1016848185@qq.com"
|
||||
password: "zugifvgkwvmibehf"
|
||||
host: "smtp.qq.com"
|
||||
port: 465
|
||||
|
||||
saas:
|
||||
link: "http://62.151.176.239:8002"
|
||||
iosAppId: "26"
|
||||
androidAppId: "27"
|
||||
|
||||
# AWS
|
||||
aws:
|
||||
key: "AKIA2OAJT2TMKO6YTRA3"
|
||||
secret: "oepKhLD9QpahS35/6/qSo5+bFe9POhUj1d6ji1E1"
|
||||
region: "us-east-1"
|
||||
accountId: "717279712472"
|
||||
|
||||
|
||||
#SQS
|
||||
sqs:
|
||||
ads: "test-ads" # 广告记录队列
|
||||
Reference in New Issue
Block a user