Browse Source
🔄 rename(appsettings.Development.json): 重命名开发环境配置文件为 appsettings.MySql.json 🔧 update(SingleMigrationsDbContextFactory.cs): 更新数据库上下文工厂以使用 MySql 配置文件pull/1049/head
4 changed files with 1 additions and 260 deletions
@ -1,246 +0,0 @@ |
|||||
{ |
|
||||
"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": "Host=127.0.0.1;Database=Platform-V70;Username=postgres;Password=123456;SslMode=Prefer" |
|
||||
}, |
|
||||
"DistributedLock": { |
|
||||
"IsEnabled": true, |
|
||||
"Redis": { |
|
||||
"Configuration": "127.0.0.1,defaultDatabase=14" |
|
||||
} |
|
||||
}, |
|
||||
"Elsa": { |
|
||||
"Features": { |
|
||||
"DefaultPersistence": { |
|
||||
"Enabled": false, |
|
||||
"ConnectionStringIdentifier": "Default", |
|
||||
"EntityFrameworkCore": { |
|
||||
"PostgreSql": { |
|
||||
"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": false, |
|
||||
"ConnectionStringIdentifier": "Default", |
|
||||
"EntityFrameworkCore": { |
|
||||
"PostgreSql": { |
|
||||
"Enabled": true |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"WorkflowSettings": { |
|
||||
"Enabled": false, |
|
||||
"ConnectionStringIdentifier": "Default", |
|
||||
"EntityFrameworkCore": { |
|
||||
"PostgreSql": { |
|
||||
"Enabled": true |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
}, |
|
||||
"Server": { |
|
||||
"BaseUrl": "http://127.0.0.1:30000" |
|
||||
} |
|
||||
}, |
|
||||
"Quartz": { |
|
||||
"UsePersistentStore": false, |
|
||||
"Properties": { |
|
||||
"quartz.jobStore.dataSource": "tkm", |
|
||||
"quartz.jobStore.useProperties": "true", |
|
||||
"quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX,Quartz", |
|
||||
"quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.PostgreSQLDelegate,Quartz", |
|
||||
"quartz.dataSource.tkm.connectionString": "Host=127.0.0.1;Database=Platform-V70;Username=postgres;Password=123456;SslMode=Prefer", |
|
||||
"quartz.dataSource.tkm.provider": "Npgsql", |
|
||||
"quartz.dataSource.tkm.connectionStringName": "Default", |
|
||||
"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" |
|
||||
} |
|
||||
} |
|
||||
] |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue