Browse Source
- 修改多个配置文件以更新数据库连接字符串 - 添加本地时区设置 - 调整服务配置以支持 PostgreSQL - 移除各个模块独立的数据库配置,使其支持当项目启动数据迁移pull/1048/head
11 changed files with 472 additions and 531 deletions
@ -1,4 +1,14 @@ |
|||
namespace LY.MicroService.Applications.Single.DbMigrator; |
|||
public partial class SingleDbMigratorModule |
|||
{ |
|||
} |
|||
using Microsoft.Extensions.Configuration; |
|||
using Volo.Abp.Timing; |
|||
|
|||
namespace LY.MicroService.Applications.Single.DbMigrator; |
|||
public partial class SingleDbMigratorModule |
|||
{ |
|||
private void ConfigureTiming(IConfiguration configuration) |
|||
{ |
|||
Configure<AbpClockOptions>(options => |
|||
{ |
|||
configuration.GetSection("Clock").Bind(options); |
|||
}); |
|||
} |
|||
} |
|||
|
|||
@ -1,117 +1,103 @@ |
|||
{ |
|||
"ConnectionStrings": { |
|||
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpAuditLogging": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpOpenIddict": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpIdentity": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpSaas": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpTenantManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpFeatureManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpSettingManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpPermissionManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpTextTemplating": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AppPlatform": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"TaskManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"Workflow": "Server=127.0.0.1;Database=Workflow-V70;User Id=root;Password=123456;SslMode=None", |
|||
"Notifications": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
|||
"MessageService": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
|||
"Demo": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
|||
}, |
|||
"StringEncryption": { |
|||
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
|||
"InitVectorBytes": "s83ng0abvd02js84", |
|||
"DefaultSalt": "sf&5)s3#" |
|||
}, |
|||
"AuthServer": { |
|||
"UseOpenIddict": true |
|||
}, |
|||
"IdentityServer": { |
|||
"Clients": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:40080/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
} |
|||
}, |
|||
"OpenIddict": { |
|||
"Applications": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:40080/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
} |
|||
}, |
|||
"Serilog": { |
|||
"MinimumLevel": { |
|||
"Default": "Information", |
|||
"Override": { |
|||
"System": "Warning", |
|||
"Microsoft": "Warning", |
|||
"DotNetCore": "Information" |
|||
} |
|||
}, |
|||
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
|||
"WriteTo": [ |
|||
{ |
|||
"Name": "Console", |
|||
"Args": { |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Debug-.log", |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Info-.log", |
|||
"restrictedToMinimumLevel": "Information", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Warn-.log", |
|||
"restrictedToMinimumLevel": "Warning", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Error-.log", |
|||
"restrictedToMinimumLevel": "Error", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Fatal-.log", |
|||
"restrictedToMinimumLevel": "Fatal", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
} |
|||
] |
|||
} |
|||
} |
|||
{ |
|||
"Clock": { |
|||
"Kind": "Local" |
|||
}, |
|||
"ConnectionStrings": { |
|||
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
|||
}, |
|||
"StringEncryption": { |
|||
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
|||
"InitVectorBytes": "s83ng0abvd02js84", |
|||
"DefaultSalt": "sf&5)s3#" |
|||
}, |
|||
"AuthServer": { |
|||
"UseOpenIddict": true |
|||
}, |
|||
"IdentityServer": { |
|||
"Clients": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:40080/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
} |
|||
}, |
|||
"OpenIddict": { |
|||
"Applications": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:40080/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
} |
|||
}, |
|||
"Serilog": { |
|||
"MinimumLevel": { |
|||
"Default": "Information", |
|||
"Override": { |
|||
"System": "Warning", |
|||
"Microsoft": "Warning", |
|||
"DotNetCore": "Information" |
|||
} |
|||
}, |
|||
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
|||
"WriteTo": [ |
|||
{ |
|||
"Name": "Console", |
|||
"Args": { |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Debug-.log", |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Info-.log", |
|||
"restrictedToMinimumLevel": "Information", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Warn-.log", |
|||
"restrictedToMinimumLevel": "Warning", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Error-.log", |
|||
"restrictedToMinimumLevel": "Error", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Fatal-.log", |
|||
"restrictedToMinimumLevel": "Fatal", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
} |
|||
] |
|||
} |
|||
} |
|||
|
|||
@ -1,262 +1,245 @@ |
|||
{ |
|||
"App": { |
|||
"ShowPii": true, |
|||
"SelfUrl": "http://127.0.0.1:30001/", |
|||
"CorsOrigins": "http://127.0.0.1:3100,http://127.0.0.1:30001", |
|||
"Urls": { |
|||
"Applications": { |
|||
"MVC": { |
|||
"RootUrl": "http://127.0.0.1:30001/", |
|||
"Urls": { |
|||
"Abp.Account.EmailConfirm": "Account/EmailConfirm", |
|||
"Abp.Account.EmailVerifyLogin": "Account/VerifyCode" |
|||
} |
|||
}, |
|||
"STS": { |
|||
"RootUrl": "http://127.0.0.1:30001/" |
|||
}, |
|||
"VueVbenAdmin": { |
|||
"RootUrl": "http://127.0.0.1:3100", |
|||
"Urls": { |
|||
"Abp.Account.EmailConfirm": "account/email-confirm" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
"Auditing": { |
|||
"AllEntitiesSelector": true |
|||
}, |
|||
"DistributedCache": { |
|||
"HideErrors": true, |
|||
"KeyPrefix": "LINGYUN.Abp.Application", |
|||
"GlobalCacheEntryOptions": { |
|||
"SlidingExpiration": "30:00:00", |
|||
"AbsoluteExpirationRelativeToNow": "60:00:00" |
|||
} |
|||
}, |
|||
"ConnectionStrings": { |
|||
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpAuditLogging": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpOpenIddict": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpIdentity": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpSaas": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpTenantManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpFeatureManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpSettingManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpPermissionManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AbpTextTemplating": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"AppPlatform": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"TaskManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
|||
"Workflow": "Server=127.0.0.1;Database=Workflow-V70;User Id=root;Password=123456;SslMode=None", |
|||
"Notifications": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
|||
"MessageService": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
|||
"Demo": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
|||
}, |
|||
"DistributedLock": { |
|||
"IsEnabled": true, |
|||
"Redis": { |
|||
"Configuration": "127.0.0.1,defaultDatabase=14" |
|||
} |
|||
}, |
|||
"Elsa": { |
|||
"Features": { |
|||
"DefaultPersistence": { |
|||
"Enabled": true, |
|||
"ConnectionStringIdentifier": "Workflow", |
|||
"EntityFrameworkCore": { |
|||
"MySql": { |
|||
"Enabled": true |
|||
} |
|||
} |
|||
}, |
|||
"Console": true, |
|||
"Http": true, |
|||
"Email": true, |
|||
"TemporalQuartz": true, |
|||
"JavaScriptActivities": true, |
|||
"UserTask": true, |
|||
"Conductor": true, |
|||
"Telnyx": true, |
|||
"BlobStoring": true, |
|||
"Emailing": true, |
|||
"Notification": true, |
|||
"Sms": true, |
|||
"IM": true, |
|||
"PublishWebhook": true, |
|||
"Webhooks": { |
|||
"Enabled": true, |
|||
"ConnectionStringIdentifier": "Workflow", |
|||
"EntityFrameworkCore": { |
|||
"MySql": { |
|||
"Enabled": true |
|||
} |
|||
} |
|||
}, |
|||
"WorkflowSettings": { |
|||
"Enabled": true, |
|||
"ConnectionStringIdentifier": "Workflow", |
|||
"EntityFrameworkCore": { |
|||
"MySql": { |
|||
"Enabled": true |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
"Server": { |
|||
"BaseUrl": "http://127.0.0.1:30000" |
|||
} |
|||
}, |
|||
"Quartz": { |
|||
"UsePersistentStore": false, |
|||
"Properties": { |
|||
"quartz.jobStore.dataSource": "tkm", |
|||
"quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX,Quartz", |
|||
"quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.MySQLDelegate,Quartz", |
|||
"quartz.dataSource.tkm.connectionString": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456", |
|||
"quartz.dataSource.tkm.connectionStringName": "TaskManagement", |
|||
"quartz.dataSource.tkm.provider": "MySqlConnector", |
|||
"quartz.jobStore.clustered": "true", |
|||
"quartz.serializer.type": "json" |
|||
} |
|||
}, |
|||
"Redis": { |
|||
"IsEnabled": true, |
|||
"Configuration": "127.0.0.1,defaultDatabase=15", |
|||
"InstanceName": "LINGYUN.Abp.Application" |
|||
}, |
|||
"Features": { |
|||
"Validation": { |
|||
"Redis": { |
|||
"Configuration": "127.0.0.1,defaultDatabase=13", |
|||
"InstanceName": "LINGYUN.Abp.Application" |
|||
} |
|||
} |
|||
}, |
|||
"AuthServer": { |
|||
"UseOpenIddict": true, |
|||
"Authority": "http://127.0.0.1:30001/", |
|||
"Audience": "lingyun-abp-application", |
|||
"RequireHttpsMetadata": false, |
|||
"SwaggerClientId": "InternalServiceClient", |
|||
"SwaggerClientSecret": "1q2w3E*" |
|||
}, |
|||
"IdentityServer": { |
|||
"Clients": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:3100/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
} |
|||
}, |
|||
"OpenIddict": { |
|||
"Applications": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:3100/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
}, |
|||
"Lifetime": { |
|||
"AuthorizationCode": "00:05:00", |
|||
"AccessToken": "14:00:00", |
|||
"DeviceCode": "00:10:00", |
|||
"IdentityToken": "00:20:00", |
|||
"RefreshToken": "14:00:00", |
|||
"RefreshTokenReuseLeeway": "00:00:30", |
|||
"UserCode": "00:10:00" |
|||
} |
|||
}, |
|||
"Identity": { |
|||
"Password": { |
|||
"RequiredLength": 6, |
|||
"RequiredUniqueChars": 0, |
|||
"RequireNonAlphanumeric": false, |
|||
"RequireLowercase": false, |
|||
"RequireUppercase": false, |
|||
"RequireDigit": false |
|||
}, |
|||
"Lockout": { |
|||
"AllowedForNewUsers": false, |
|||
"LockoutDuration": 5, |
|||
"MaxFailedAccessAttempts": 5 |
|||
}, |
|||
"SignIn": { |
|||
"RequireConfirmedEmail": false, |
|||
"RequireConfirmedPhoneNumber": false |
|||
} |
|||
}, |
|||
"FeatureManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"SettingManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"PermissionManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"TextTemplating": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"WebhooksManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"Logging": { |
|||
"Serilog": { |
|||
"Elasticsearch": { |
|||
"IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}" |
|||
} |
|||
} |
|||
}, |
|||
"AuditLogging": { |
|||
"Elasticsearch": { |
|||
"IndexPrefix": "abp.dev.auditing" |
|||
} |
|||
}, |
|||
"Elasticsearch": { |
|||
"NodeUris": "http://127.0.0.1:9200" |
|||
}, |
|||
"Minio": { |
|||
"WithSSL": false, |
|||
"BucketName": "blobs", |
|||
"EndPoint": "127.0.0.1:19000", |
|||
"AccessKey": "ZD43kNpimiJf9mCuomTP", |
|||
"SecretKey": "w8IqMgi4Tnz0DGzN8jZ7IJWq7OEdbUnAU0jlZxQK", |
|||
"CreateBucketIfNotExists": false |
|||
}, |
|||
"Serilog": { |
|||
"MinimumLevel": { |
|||
"Default": "Information", |
|||
"Override": { |
|||
"System": "Warning", |
|||
"Microsoft": "Warning", |
|||
"DotNetCore": "Warning" |
|||
} |
|||
}, |
|||
"WriteTo": [ |
|||
{ |
|||
"Name": "Console", |
|||
"Args": { |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "Elasticsearch", |
|||
"Args": { |
|||
"nodeUris": "http://127.0.0.1:9200", |
|||
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", |
|||
"autoRegisterTemplate": true, |
|||
"autoRegisterTemplateVersion": "ESv7" |
|||
} |
|||
} |
|||
] |
|||
} |
|||
} |
|||
{ |
|||
"App": { |
|||
"ShowPii": true, |
|||
"SelfUrl": "http://127.0.0.1:30001/", |
|||
"CorsOrigins": "http://127.0.0.1:3100,http://127.0.0.1:30001", |
|||
"Urls": { |
|||
"Applications": { |
|||
"MVC": { |
|||
"RootUrl": "http://127.0.0.1:30001/", |
|||
"Urls": { |
|||
"Abp.Account.EmailConfirm": "Account/EmailConfirm", |
|||
"Abp.Account.EmailVerifyLogin": "Account/VerifyCode" |
|||
} |
|||
}, |
|||
"STS": { |
|||
"RootUrl": "http://127.0.0.1:30001/" |
|||
}, |
|||
"VueVbenAdmin": { |
|||
"RootUrl": "http://127.0.0.1:3100", |
|||
"Urls": { |
|||
"Abp.Account.EmailConfirm": "account/email-confirm" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
"Auditing": { |
|||
"AllEntitiesSelector": true |
|||
}, |
|||
"DistributedCache": { |
|||
"HideErrors": true, |
|||
"KeyPrefix": "LINGYUN.Abp.Application", |
|||
"GlobalCacheEntryOptions": { |
|||
"SlidingExpiration": "30:00:00", |
|||
"AbsoluteExpirationRelativeToNow": "60:00:00" |
|||
} |
|||
}, |
|||
"ConnectionStrings": { |
|||
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
|||
}, |
|||
"DistributedLock": { |
|||
"IsEnabled": true, |
|||
"Redis": { |
|||
"Configuration": "127.0.0.1,defaultDatabase=14" |
|||
} |
|||
}, |
|||
"Elsa": { |
|||
"Features": { |
|||
"DefaultPersistence": { |
|||
"Enabled": true, |
|||
"ConnectionStringIdentifier": "Workflow", |
|||
"EntityFrameworkCore": { |
|||
"MySql": { |
|||
"Enabled": true |
|||
} |
|||
} |
|||
}, |
|||
"Console": true, |
|||
"Http": true, |
|||
"Email": true, |
|||
"TemporalQuartz": true, |
|||
"JavaScriptActivities": true, |
|||
"UserTask": true, |
|||
"Conductor": true, |
|||
"Telnyx": true, |
|||
"BlobStoring": true, |
|||
"Emailing": true, |
|||
"Notification": true, |
|||
"Sms": true, |
|||
"IM": true, |
|||
"PublishWebhook": true, |
|||
"Webhooks": { |
|||
"Enabled": true, |
|||
"ConnectionStringIdentifier": "Workflow", |
|||
"EntityFrameworkCore": { |
|||
"MySql": { |
|||
"Enabled": true |
|||
} |
|||
} |
|||
}, |
|||
"WorkflowSettings": { |
|||
"Enabled": true, |
|||
"ConnectionStringIdentifier": "Workflow", |
|||
"EntityFrameworkCore": { |
|||
"MySql": { |
|||
"Enabled": true |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
"Server": { |
|||
"BaseUrl": "http://127.0.0.1:30000" |
|||
} |
|||
}, |
|||
"Quartz": { |
|||
"UsePersistentStore": false, |
|||
"Properties": { |
|||
"quartz.jobStore.dataSource": "tkm", |
|||
"quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX,Quartz", |
|||
"quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.MySQLDelegate,Quartz", |
|||
"quartz.dataSource.tkm.connectionString": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456", |
|||
"quartz.dataSource.tkm.connectionStringName": "TaskManagement", |
|||
"quartz.dataSource.tkm.provider": "MySqlConnector", |
|||
"quartz.jobStore.clustered": "true", |
|||
"quartz.serializer.type": "json" |
|||
} |
|||
}, |
|||
"Redis": { |
|||
"IsEnabled": true, |
|||
"Configuration": "127.0.0.1,defaultDatabase=15", |
|||
"InstanceName": "LINGYUN.Abp.Application" |
|||
}, |
|||
"Features": { |
|||
"Validation": { |
|||
"Redis": { |
|||
"Configuration": "127.0.0.1,defaultDatabase=13", |
|||
"InstanceName": "LINGYUN.Abp.Application" |
|||
} |
|||
} |
|||
}, |
|||
"AuthServer": { |
|||
"UseOpenIddict": true, |
|||
"Authority": "http://127.0.0.1:30001/", |
|||
"Audience": "lingyun-abp-application", |
|||
"RequireHttpsMetadata": false, |
|||
"SwaggerClientId": "InternalServiceClient", |
|||
"SwaggerClientSecret": "1q2w3E*" |
|||
}, |
|||
"IdentityServer": { |
|||
"Clients": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:3100/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
} |
|||
}, |
|||
"OpenIddict": { |
|||
"Applications": { |
|||
"VueAdmin": { |
|||
"ClientId": "vue-admin-client", |
|||
"RootUrl": "http://127.0.0.1:3100/" |
|||
}, |
|||
"InternalService": { |
|||
"ClientId": "InternalServiceClient" |
|||
} |
|||
}, |
|||
"Lifetime": { |
|||
"AuthorizationCode": "00:05:00", |
|||
"AccessToken": "14:00:00", |
|||
"DeviceCode": "00:10:00", |
|||
"IdentityToken": "00:20:00", |
|||
"RefreshToken": "14:00:00", |
|||
"RefreshTokenReuseLeeway": "00:00:30", |
|||
"UserCode": "00:10:00" |
|||
} |
|||
}, |
|||
"Identity": { |
|||
"Password": { |
|||
"RequiredLength": 6, |
|||
"RequiredUniqueChars": 0, |
|||
"RequireNonAlphanumeric": false, |
|||
"RequireLowercase": false, |
|||
"RequireUppercase": false, |
|||
"RequireDigit": false |
|||
}, |
|||
"Lockout": { |
|||
"AllowedForNewUsers": false, |
|||
"LockoutDuration": 5, |
|||
"MaxFailedAccessAttempts": 5 |
|||
}, |
|||
"SignIn": { |
|||
"RequireConfirmedEmail": false, |
|||
"RequireConfirmedPhoneNumber": false |
|||
} |
|||
}, |
|||
"FeatureManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"SettingManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"PermissionManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"TextTemplating": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"WebhooksManagement": { |
|||
"IsDynamicStoreEnabled": true |
|||
}, |
|||
"Logging": { |
|||
"Serilog": { |
|||
"Elasticsearch": { |
|||
"IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}" |
|||
} |
|||
} |
|||
}, |
|||
"AuditLogging": { |
|||
"Elasticsearch": { |
|||
"IndexPrefix": "abp.dev.auditing" |
|||
} |
|||
}, |
|||
"Elasticsearch": { |
|||
"NodeUris": "http://127.0.0.1:9200" |
|||
}, |
|||
"Minio": { |
|||
"WithSSL": false, |
|||
"BucketName": "blobs", |
|||
"EndPoint": "127.0.0.1:19000", |
|||
"AccessKey": "ZD43kNpimiJf9mCuomTP", |
|||
"SecretKey": "w8IqMgi4Tnz0DGzN8jZ7IJWq7OEdbUnAU0jlZxQK", |
|||
"CreateBucketIfNotExists": false |
|||
}, |
|||
"Serilog": { |
|||
"MinimumLevel": { |
|||
"Default": "Information", |
|||
"Override": { |
|||
"System": "Warning", |
|||
"Microsoft": "Warning", |
|||
"DotNetCore": "Warning" |
|||
} |
|||
}, |
|||
"WriteTo": [ |
|||
{ |
|||
"Name": "Console", |
|||
"Args": { |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "Elasticsearch", |
|||
"Args": { |
|||
"nodeUris": "http://127.0.0.1:9200", |
|||
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", |
|||
"autoRegisterTemplate": true, |
|||
"autoRegisterTemplateVersion": "ESv7" |
|||
} |
|||
} |
|||
] |
|||
} |
|||
} |
|||
|
|||
@ -1,86 +1,89 @@ |
|||
{ |
|||
"Forwarded": { |
|||
"ForwardedHeaders": "XForwardedFor,XForwardedProto" |
|||
}, |
|||
"StringEncryption": { |
|||
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
|||
"InitVectorBytes": "s83ng0abvd02js84", |
|||
"DefaultSalt": "sf&5)s3#" |
|||
}, |
|||
"Json": { |
|||
"OutputDateTimeFormat": "yyyy-MM-dd HH:mm:ss", |
|||
"InputDateTimeFormats": [ |
|||
"yyyy-MM-dd HH:mm:ss", |
|||
"yyyy-MM-ddTHH:mm:ss" |
|||
] |
|||
}, |
|||
"AllowedHosts": "*", |
|||
"Hosting": { |
|||
"BasePath": "" |
|||
}, |
|||
"Serilog": { |
|||
"MinimumLevel": { |
|||
"Default": "Information", |
|||
"Override": { |
|||
"System": "Warning", |
|||
"Microsoft": "Warning", |
|||
"DotNetCore": "Information" |
|||
} |
|||
}, |
|||
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
|||
"WriteTo": [ |
|||
{ |
|||
"Name": "Console", |
|||
"Args": { |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Debug-.log", |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Info-.log", |
|||
"restrictedToMinimumLevel": "Information", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Warn-.log", |
|||
"restrictedToMinimumLevel": "Warning", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Error-.log", |
|||
"restrictedToMinimumLevel": "Error", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Fatal-.log", |
|||
"restrictedToMinimumLevel": "Fatal", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
} |
|||
] |
|||
} |
|||
} |
|||
{ |
|||
"Clock": { |
|||
"Kind": "Local" |
|||
}, |
|||
"Forwarded": { |
|||
"ForwardedHeaders": "XForwardedFor,XForwardedProto" |
|||
}, |
|||
"StringEncryption": { |
|||
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
|||
"InitVectorBytes": "s83ng0abvd02js84", |
|||
"DefaultSalt": "sf&5)s3#" |
|||
}, |
|||
"Json": { |
|||
"OutputDateTimeFormat": "yyyy-MM-dd HH:mm:ss", |
|||
"InputDateTimeFormats": [ |
|||
"yyyy-MM-dd HH:mm:ss", |
|||
"yyyy-MM-ddTHH:mm:ss" |
|||
] |
|||
}, |
|||
"AllowedHosts": "*", |
|||
"Hosting": { |
|||
"BasePath": "" |
|||
}, |
|||
"Serilog": { |
|||
"MinimumLevel": { |
|||
"Default": "Information", |
|||
"Override": { |
|||
"System": "Warning", |
|||
"Microsoft": "Warning", |
|||
"DotNetCore": "Information" |
|||
} |
|||
}, |
|||
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
|||
"WriteTo": [ |
|||
{ |
|||
"Name": "Console", |
|||
"Args": { |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Debug-.log", |
|||
"restrictedToMinimumLevel": "Debug", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Info-.log", |
|||
"restrictedToMinimumLevel": "Information", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Warn-.log", |
|||
"restrictedToMinimumLevel": "Warning", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Error-.log", |
|||
"restrictedToMinimumLevel": "Error", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
}, |
|||
{ |
|||
"Name": "File", |
|||
"Args": { |
|||
"path": "Logs/Fatal-.log", |
|||
"restrictedToMinimumLevel": "Fatal", |
|||
"rollingInterval": "Day", |
|||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|||
} |
|||
} |
|||
] |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue