Files
AgileConfig/AgileConfig.Server.Apisite/appsettings.Development.json
T

44 lines
2.0 KiB
JSON

{
"urls": "http://*:5000",
"Logging": {
"LogLevel": {
"Default": "Trace",
"System": "Information",
"Microsoft": "Information"
}
},
"alwaysTrustSsl": true, // If true, the server will ignore SSL errors.
"serviceHealthCheckInterval": 15, // 服务健康检测的间隔时间,单位:秒
"serviceUnhealthInterval": 30, // 判断服务不健康的间隔,超出这个时间没响应过则认为不健康,单位:秒
"removeServiceInterval": 0, // 如果一个服务超出这个时间没有响应,则直接移除这个服务,单位:秒;如果设定为 <= 0,则不会移除,默认 0 。
"pathBase": "", //使用反向代理的时候,或许需要修改这个值 /xxx 必须/开头
"adminConsole": true,
"cluster": false, // 集群模式:服务启动后自动加入节点列表,服务启动的时候会获取容器的ip,端口默认5000,适合 docker compose 环境使用
"preview_mode": true,
"db": {
"provider": "sqlite", //sqlite,mysql,sqlserver,npgsql,oracle
"conn": "Data Source=agile_config.db",
//"provider": "sqlserver",
//"conn": "Encrypt=True;TrustServerCertificate=True;Persist Security Info = False; User ID =dev; Password =dev@123; Initial Catalog =agile_config; Server =192.168.18.82"
//"provider": "npgsql",
//"conn": "Host=127.0.0.1;Database=agileconfig;Username=postgres;Password=123456"
//"provider": "oracle",
//"conn": "user id=CLINIC;password=CLINIC;data source=192.168.0.91/orcl"
//"provider": "mysql",
//"conn": "Database=agile_config;Data Source=192.168.0.125;User Id=root;Password=x;port=13306",
"env": {
"TEST": {
"provider": "sqlite", //sqlite,mysql,sqlserver,npgsql,oracle
"conn": "Data Source=agile_config_TEST.db"
}
}
},
"JwtSetting": {
"SecurityKey": "", // ��Կ dfasf343453fsdfa,./,./sdfasf34r3hfhfdb
"Issuer": "agileconfig.admin", // �䷢��
"Audience": "agileconfig.admin", // ������
"ExpireSeconds": 86400 // ����ʱ��
}
}