Browse Source

Merge pull request #530 from colinin/fix-auth-server-address

fix(appsettings): auth server was changed from localhost to 127.0.0.1
pull/533/head
yx lin 4 years ago
committed by GitHub
parent
commit
3e066a5c28
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/Commands/LocalFileCreateProjectService.cs
  2. 4
      aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/README.md
  3. 34
      aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/appsettings.Development.json
  4. 26
      aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/appsettings.Development.json
  5. 38
      aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/appsettings.Development.json
  6. 36
      aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json
  7. 2
      aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/Properties/launchSettings.json
  8. 4
      aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/appsettings.Development.json
  9. 34
      aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/appsettings.Development.json
  10. 38
      aspnet-core/services/LY.MicroService.identityServer/appsettings.Development.json
  11. 2
      docker-compose.agile.config.yml
  12. 4
      gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/appsettings.Development.json

4
aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN/Abp/Cli/Commands/LocalFileCreateProjectService.cs

@ -171,8 +171,8 @@ namespace LINGYUN.Abp.Cli.Commands
var launchFile = projectFiles.FirstOrDefault(f => f.Name.EndsWith("launchSettings.json")); var launchFile = projectFiles.FirstOrDefault(f => f.Name.EndsWith("launchSettings.json"));
if (launchFile != null) if (launchFile != null)
{ {
string applicationUrl = $"http://localhost:{port}"; string applicationUrl = $"http://127.0.0.1:{port}";
await ReplaceFileTextAsync(launchFile, "http://localhost:5000", applicationUrl); await ReplaceFileTextAsync(launchFile, "http://127.0.0.1:5000", applicationUrl);
} }
var daprScriptFile = projectFiles.FirstOrDefault(f => f.Name.EndsWith("dapr.sh")); var daprScriptFile = projectFiles.FirstOrDefault(f => f.Name.EndsWith("dapr.sh"));

4
aspnet-core/modules/tenants/LINGYUN.Abp.MultiTenancy.RemoteService/README.md

@ -31,13 +31,13 @@ Install-Package Volo.Abp.Http.Client.IdentityModel
{ {
"RemoteServices": { "RemoteServices": {
"AbpTenantManagement": { "AbpTenantManagement": {
"BaseUrl": "http://localhost:30000/", "BaseUrl": "http://127.0.0.1:30000/",
"IdentityClient": "InternalServiceClient" "IdentityClient": "InternalServiceClient"
} }
}, },
"IdentityClients": { "IdentityClients": {
"InternalServiceClient": { "InternalServiceClient": {
"Authority": "http://localhost:44385", "Authority": "http://127.0.0.1:44385",
"RequireHttps": false, "RequireHttps": false,
"GrantType": "client_credentials", "GrantType": "client_credentials",
"ClientId": "tenant-finder-client", "ClientId": "tenant-finder-client",

34
aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/appsettings.Development.json

@ -3,7 +3,7 @@
"env": "DEV", "env": "DEV",
"appId": "LINGYUN.Abp.Backend.Admin", "appId": "LINGYUN.Abp.Backend.Admin",
"secret": "1q2w3E*", "secret": "1q2w3E*",
"nodes": "http://localhost:5000", "nodes": "http://127.0.0.1:5000",
"name": "BackendAdmin", "name": "BackendAdmin",
"tag": "BackendAdmin" "tag": "BackendAdmin"
}, },
@ -12,20 +12,20 @@
"Forwarded": { "Forwarded": {
"ForwardedHeaders": 5, "ForwardedHeaders": 5,
"KnownProxies": [ "KnownProxies": [
"localhost" "127.0.0.1"
] ]
}, },
"CorsOrigins": "http://localhost:3100" "CorsOrigins": "http://127.0.0.1:3100"
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", "Default": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"CAP": { "CAP": {
"EventBus": { "EventBus": {
@ -37,10 +37,10 @@
}, },
"MySql": { "MySql": {
"TableNamePrefix": "admin", "TableNamePrefix": "admin",
"ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"RabbitMQ": { "RabbitMQ": {
"HostName": "localhost", "HostName": "127.0.0.1",
"Port": 5672, "Port": 5672,
"UserName": "guest", "UserName": "guest",
"Password": "guest", "Password": "guest",
@ -49,11 +49,11 @@
} }
}, },
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=10", "Configuration": "127.0.0.1,defaultDatabase=10",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://localhost:44385/", "Authority": "http://127.0.0.1:44385/",
"ApiName": "lingyun-abp-application" "ApiName": "lingyun-abp-application"
}, },
"Logging": { "Logging": {
@ -69,7 +69,7 @@
} }
}, },
"Elasticsearch": { "Elasticsearch": {
"NodeUris": "http://localhost:9200" "NodeUris": "http://127.0.0.1:9200"
}, },
"Serilog": { "Serilog": {
"MinimumLevel": { "MinimumLevel": {
@ -91,7 +91,7 @@
{ {
"Name": "Elasticsearch", "Name": "Elasticsearch",
"Args": { "Args": {
"nodeUris": "http://localhost:9200", "nodeUris": "http://127.0.0.1:9200",
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
"autoRegisterTemplate": true, "autoRegisterTemplate": true,
"autoRegisterTemplateVersion": "ESv7" "autoRegisterTemplateVersion": "ESv7"

26
aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/appsettings.Development.json

@ -3,20 +3,20 @@
"env": "DEV", "env": "DEV",
"appId": "LINGYUN.Abp.Localization", "appId": "LINGYUN.Abp.Localization",
"secret": "1q2w3E*", "secret": "1q2w3E*",
"nodes": "http://localhost:5000", "nodes": "http://127.0.0.1:5000",
"name": "Localization", "name": "Localization",
"tag": "Localization" "tag": "Localization"
}, },
"App": { "App": {
"TrackingEntitiesChanged": true, "TrackingEntitiesChanged": true,
"CorsOrigins": "http://localhost:3100" "CorsOrigins": "http://127.0.0.1:3100"
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", "Default": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"CAP": { "CAP": {
"EventBus": { "EventBus": {
@ -28,10 +28,10 @@
}, },
"MySql": { "MySql": {
"TableNamePrefix": "lta", "TableNamePrefix": "lta",
"ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"RabbitMQ": { "RabbitMQ": {
"HostName": "localhost", "HostName": "127.0.0.1",
"Port": 5672, "Port": 5672,
"UserName": "guest", "UserName": "guest",
"Password": "guest", "Password": "guest",
@ -40,11 +40,11 @@
} }
}, },
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=10", "Configuration": "127.0.0.1,defaultDatabase=10",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://localhost:44385/", "Authority": "http://127.0.0.1:44385/",
"ApiName": "lingyun-abp-application" "ApiName": "lingyun-abp-application"
}, },
"AuditLogging": { "AuditLogging": {
@ -53,7 +53,7 @@
} }
}, },
"Elasticsearch": { "Elasticsearch": {
"NodeUris": "http://localhost:9200" "NodeUris": "http://127.0.0.1:9200"
}, },
"Serilog": { "Serilog": {
"MinimumLevel": { "MinimumLevel": {
@ -75,7 +75,7 @@
{ {
"Name": "Elasticsearch", "Name": "Elasticsearch",
"Args": { "Args": {
"nodeUris": "http://localhost:9200", "nodeUris": "http://127.0.0.1:9200",
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
"autoRegisterTemplate": true, "autoRegisterTemplate": true,
"autoRegisterTemplateVersion": "ESv7" "autoRegisterTemplateVersion": "ESv7"

38
aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/appsettings.Development.json

@ -3,7 +3,7 @@
"env": "DEV", "env": "DEV",
"appId": "LINGYUN.Abp.Platform", "appId": "LINGYUN.Abp.Platform",
"secret": "1q2w3E*", "secret": "1q2w3E*",
"nodes": "http://localhost:5000", "nodes": "http://127.0.0.1:5000",
"name": "Platform", "name": "Platform",
"tag": "Platform" "tag": "Platform"
}, },
@ -11,20 +11,20 @@
"Forwarded": { "Forwarded": {
"ForwardedHeaders": 5, "ForwardedHeaders": 5,
"KnownProxies": [ "KnownProxies": [
"localhost" "127.0.0.1"
] ]
}, },
"CorsOrigins": "http://localhost:3100" "CorsOrigins": "http://127.0.0.1:3100"
}, },
"RemoteServices": { "RemoteServices": {
"AbpIdentity": { "AbpIdentity": {
"BaseUrl": "http://localhost:30015/", "BaseUrl": "http://127.0.0.1:30015/",
"IdentityClient": "InternalServiceClient" "IdentityClient": "InternalServiceClient"
} }
}, },
"IdentityClients": { "IdentityClients": {
"InternalServiceClient": { "InternalServiceClient": {
"Authority": "http://localhost:44385/", "Authority": "http://127.0.0.1:44385/",
"RequireHttps": false, "RequireHttps": false,
"GrantType": "client_credentials", "GrantType": "client_credentials",
"Scope": "lingyun-abp-application", "Scope": "lingyun-abp-application",
@ -33,18 +33,18 @@
} }
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", "Default": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AppPlatform": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AppPlatform": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"Features": { "Features": {
"Validation": { "Validation": {
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=8", "Configuration": "127.0.0.1,defaultDatabase=8",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
} }
} }
@ -59,10 +59,10 @@
}, },
"MySql": { "MySql": {
"TableNamePrefix": "plt", "TableNamePrefix": "plt",
"ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"RabbitMQ": { "RabbitMQ": {
"HostName": "localhost", "HostName": "127.0.0.1",
"Port": 5672, "Port": 5672,
"UserName": "guest", "UserName": "guest",
"Password": "guest", "Password": "guest",
@ -71,11 +71,11 @@
} }
}, },
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=10", "Configuration": "127.0.0.1,defaultDatabase=10",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://localhost:44385/", "Authority": "http://127.0.0.1:44385/",
"ApiName": "lingyun-abp-application" "ApiName": "lingyun-abp-application"
}, },
"AuditLogging": { "AuditLogging": {
@ -84,7 +84,7 @@
} }
}, },
"Elasticsearch": { "Elasticsearch": {
"NodeUris": "http://localhost:9200" "NodeUris": "http://127.0.0.1:9200"
}, },
"Serilog": { "Serilog": {
"MinimumLevel": { "MinimumLevel": {
@ -106,7 +106,7 @@
{ {
"Name": "Elasticsearch", "Name": "Elasticsearch",
"Args": { "Args": {
"nodeUris": "http://localhost:9200", "nodeUris": "http://127.0.0.1:9200",
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
"autoRegisterTemplate": true, "autoRegisterTemplate": true,
"autoRegisterTemplateVersion": "ESv7" "autoRegisterTemplateVersion": "ESv7"

36
aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json

@ -3,16 +3,16 @@
"env": "DEV", "env": "DEV",
"appId": "LINGYUN.Abp.Message", "appId": "LINGYUN.Abp.Message",
"secret": "1q2w3E*", "secret": "1q2w3E*",
"nodes": "http://localhost:5000", "nodes": "http://127.0.0.1:5000",
"name": "Message", "name": "Message",
"tag": "Message" "tag": "Message"
}, },
"App": { "App": {
"CorsOrigins": "http://localhost:3100", "CorsOrigins": "http://127.0.0.1:3100",
"Forwarded": { "Forwarded": {
"ForwardedHeaders": 5, "ForwardedHeaders": 5,
"KnownProxies": [ "KnownProxies": [
"localhost" "127.0.0.1"
] ]
} }
}, },
@ -23,29 +23,29 @@
} }
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=Messages;User Id=root;Password=123456", "Default": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456",
"MessageService": "Server=localhost;Database=Messages;User Id=root;Password=123456", "MessageService": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456",
"AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=8", "Configuration": "127.0.0.1,defaultDatabase=8",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://localhost:44385/", "Authority": "http://127.0.0.1:44385/",
"ApiName": "lingyun-abp-application" "ApiName": "lingyun-abp-application"
}, },
"Hangfire": { "Hangfire": {
"MySql": { "MySql": {
"Connection": "Server=localhost;Database=Messages;User Id=root;Password=123456;Allow User Variables=true", "Connection": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456;Allow User Variables=true",
"TablePrefix": "AppHangfire" "TablePrefix": "AppHangfire"
}, },
"Dashboard": { "Dashboard": {
"WhiteList": "http://localhost:30000" "WhiteList": "http://127.0.0.1:30000"
} }
}, },
"Notifications": { "Notifications": {
@ -65,10 +65,10 @@
}, },
"MySql": { "MySql": {
"TableNamePrefix": "msg", "TableNamePrefix": "msg",
"ConnectionString": "Server=localhost;Database=Messages;User Id=root;Password=123456" "ConnectionString": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456"
}, },
"RabbitMQ": { "RabbitMQ": {
"HostName": "localhost", "HostName": "127.0.0.1",
"Port": 5672, "Port": 5672,
"UserName": "guest", "UserName": "guest",
"Password": "guest", "Password": "guest",
@ -82,7 +82,7 @@
} }
}, },
"Elasticsearch": { "Elasticsearch": {
"NodeUris": "http://localhost:9200" "NodeUris": "http://127.0.0.1:9200"
}, },
"Serilog": { "Serilog": {
"MinimumLevel": { "MinimumLevel": {
@ -108,7 +108,7 @@
{ {
"Name": "Elasticsearch", "Name": "Elasticsearch",
"Args": { "Args": {
"nodeUris": "http://localhost:9200", "nodeUris": "http://127.0.0.1:9200",
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
"autoRegisterTemplate": true, "autoRegisterTemplate": true,
"autoRegisterTemplateVersion": "ESv7" "autoRegisterTemplateVersion": "ESv7"

2
aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/Properties/launchSettings.json

@ -12,7 +12,7 @@
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": false, "launchBrowser": false,
"applicationUrl": "http://0.0.0.0:30040", "applicationUrl": "http://127.0.0.1:30040",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }

4
aspnet-core/services/LY.MicroService.TaskManagement.HttpApi.Host/appsettings.Development.json

@ -20,10 +20,10 @@
}, },
"MySql": { "MySql": {
"TableNamePrefix": "tsk", "TableNamePrefix": "tsk",
"ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" "ConnectionString": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"RabbitMQ": { "RabbitMQ": {
"HostName": "localhost", "HostName": "127.0.0.1",
"Port": 5672, "Port": 5672,
"UserName": "guest", "UserName": "guest",
"Password": "guest", "Password": "guest",

34
aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/appsettings.Development.json

@ -3,24 +3,24 @@
"env": "DEV", "env": "DEV",
"appId": "LINGYUN.Abp.IdentityServer.Admin", "appId": "LINGYUN.Abp.IdentityServer.Admin",
"secret": "1q2w3E*", "secret": "1q2w3E*",
"nodes": "http://localhost:5000", "nodes": "http://127.0.0.1:5000",
"name": "IdentityServer.Admin", "name": "IdentityServer.Admin",
"tag": "IdentityServer.Admin" "tag": "IdentityServer.Admin"
}, },
"App": { "App": {
"TrackingEntitiesChanged": true, "TrackingEntitiesChanged": true,
"SelfUrl": "http://localhost:30015/", "SelfUrl": "http://127.0.0.1:30015/",
"CorsOrigins": "http://localhost:3100" "CorsOrigins": "http://127.0.0.1:3100"
}, },
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "Default": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" "AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"CAP": { "CAP": {
"EventBus": { "EventBus": {
@ -32,10 +32,10 @@
}, },
"MySql": { "MySql": {
"TableNamePrefix": "ida", "TableNamePrefix": "ida",
"ConnectionString": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456" "ConnectionString": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456"
}, },
"RabbitMQ": { "RabbitMQ": {
"HostName": "localhost", "HostName": "127.0.0.1",
"Port": 5672, "Port": 5672,
"UserName": "guest", "UserName": "guest",
"Password": "guest", "Password": "guest",
@ -44,11 +44,11 @@
} }
}, },
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=10", "Configuration": "127.0.0.1,defaultDatabase=10",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://localhost:44385/", "Authority": "http://127.0.0.1:44385/",
"ApiName": "lingyun-abp-application" "ApiName": "lingyun-abp-application"
}, },
"AuditLogging": { "AuditLogging": {
@ -57,7 +57,7 @@
} }
}, },
"Elasticsearch": { "Elasticsearch": {
"NodeUris": "http://localhost:9200" "NodeUris": "http://127.0.0.1:9200"
}, },
"Serilog": { "Serilog": {
"MinimumLevel": { "MinimumLevel": {
@ -79,7 +79,7 @@
{ {
"Name": "Elasticsearch", "Name": "Elasticsearch",
"Args": { "Args": {
"nodeUris": "http://localhost:9200", "nodeUris": "http://127.0.0.1:9200",
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
"autoRegisterTemplate": true, "autoRegisterTemplate": true,
"autoRegisterTemplateVersion": "ESv7" "autoRegisterTemplateVersion": "ESv7"

38
aspnet-core/services/LY.MicroService.identityServer/appsettings.Development.json

@ -3,24 +3,24 @@
"env": "DEV", "env": "DEV",
"appId": "LINGYUN.Abp.AuthServer", "appId": "LINGYUN.Abp.AuthServer",
"secret": "1q2w3E*", "secret": "1q2w3E*",
"nodes": "http://localhost:5000", "nodes": "http://127.0.0.1:5000",
"name": "AuthServer", "name": "AuthServer",
"tag": "AuthServer" "tag": "AuthServer"
}, },
"App": { "App": {
"TrackingEntitiesChanged": true, "TrackingEntitiesChanged": true,
"SelfUrl": "http://localhost:44385/", "SelfUrl": "http://127.0.0.1:44385/",
"CorsOrigins": "http://localhost:3100" "CorsOrigins": "http://127.0.0.1:3100"
}, },
"AppSelfUrl": "http://localhost:44385/", "AppSelfUrl": "http://127.0.0.1:44385/",
"ConnectionStrings": { "ConnectionStrings": {
"Default": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "Default": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpIdentity": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456",
"AbpSaas": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSaas": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
"AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" "AbpFeatureManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
}, },
"CAP": { "CAP": {
"EventBus": { "EventBus": {
@ -32,10 +32,10 @@
}, },
"MySql": { "MySql": {
"TableNamePrefix": "auth", "TableNamePrefix": "auth",
"ConnectionString": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456" "ConnectionString": "Server=127.0.0.1;Database=IdentityServer;User Id=root;Password=123456"
}, },
"RabbitMQ": { "RabbitMQ": {
"HostName": "localhost", "HostName": "127.0.0.1",
"Port": 5672, "Port": 5672,
"UserName": "guest", "UserName": "guest",
"Password": "guest", "Password": "guest",
@ -44,18 +44,18 @@
} }
}, },
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=10", "Configuration": "127.0.0.1,defaultDatabase=10",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://localhost:44385/", "Authority": "http://127.0.0.1:44385/",
"ApiName": "lingyun-abp-application" "ApiName": "lingyun-abp-application"
}, },
"IdentityServer": { "IdentityServer": {
"Clients": { "Clients": {
"AuthManagement": { "AuthManagement": {
"ClientId": "auth-management", "ClientId": "auth-management",
"RootUrl": "http://localhost:44313/" "RootUrl": "http://127.0.0.1:44313/"
}, },
"AuthVueAdmin": { "AuthVueAdmin": {
"ClientId": "vue-admin-element" "ClientId": "vue-admin-element"
@ -64,7 +64,7 @@
"ClientId": "ApigatewayHostClient" "ClientId": "ApigatewayHostClient"
}, },
"InternalService": { "InternalService": {
"ClientId": "internal-service-client" "ClientId": "InternalServiceClient"
} }
} }
}, },
@ -93,7 +93,7 @@
} }
}, },
"Elasticsearch": { "Elasticsearch": {
"NodeUris": "http://localhost:9200" "NodeUris": "http://127.0.0.1:9200"
}, },
"Serilog": { "Serilog": {
"MinimumLevel": { "MinimumLevel": {
@ -115,7 +115,7 @@
{ {
"Name": "Elasticsearch", "Name": "Elasticsearch",
"Args": { "Args": {
"nodeUris": "http://localhost:9200", "nodeUris": "http://127.0.0.1:9200",
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}",
"autoRegisterTemplate": true, "autoRegisterTemplate": true,
"autoRegisterTemplateVersion": "ESv7" "autoRegisterTemplateVersion": "ESv7"

2
docker-compose.agile.config.yml

@ -6,7 +6,7 @@ services:
environment: environment:
- adminConsole=true - adminConsole=true
- db:provider=mysql - db:provider=mysql
- db:conn=Server=localhost;Database=agile;User Id=root;Password=123456;Character Set=utf8mb4 - db:conn=Server=127.0.0.1;Database=agile;User Id=root;Password=123456;Character Set=utf8mb4
ports: ports:
- "5000:5000" - "5000:5000"
volumes: volumes:

4
gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/appsettings.Development.json

@ -8,7 +8,7 @@
"tag": "ApiGateway" "tag": "ApiGateway"
}, },
"App": { "App": {
"CorsOrigins": "http://localhost:3100" "CorsOrigins": "http://127.0.0.1:3100"
}, },
"ApiGateway": { "ApiGateway": {
"AppId": "TEST-APP", "AppId": "TEST-APP",
@ -40,7 +40,7 @@
] ]
}, },
"Redis": { "Redis": {
"Configuration": "localhost,defaultDatabase=10", "Configuration": "127.0.0.1,defaultDatabase=10",
"InstanceName": "LINGYUN.Abp.Application" "InstanceName": "LINGYUN.Abp.Application"
}, },
"AuthServer": { "AuthServer": {

Loading…
Cancel
Save