diff --git a/README.md b/README.md index c81b806..6e215d3 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ docker run --restart unless-stopped --name netcorepal-rabbitmq -p 5672:5672 -p 1 启动后,可以通过以下地址访问各个服务: -- **Redis**: `localhost:6379` +- **Redis**: `81.68.223.70:16379,password=sl52788542` - **MySQL**: `localhost:3306` (root/123456) - **RabbitMQ AMQP**: `localhost:5672` (guest/guest) - **RabbitMQ 管理界面**: http://localhost:15672 (guest/guest) diff --git a/scripts/EXAMPLES.md b/scripts/EXAMPLES.md index c63fa14..73c509f 100644 --- a/scripts/EXAMPLES.md +++ b/scripts/EXAMPLES.md @@ -132,10 +132,10 @@ Update your `appsettings.Development.json` with these connection strings: ```json { "ConnectionStrings": { - "Redis": "localhost:6379,defaultDatabase=0", + "Redis": "81.68.223.70:16379,password=sl52788542,defaultDatabase=0", "MySql": "Server=localhost;Port=3306;Database=abctemplate;Uid=root;Pwd=123456;", "SqlServer": "Server=localhost,1433;Database=abctemplate;User Id=sa;Password=Test123456!;TrustServerCertificate=true;", - "PostgreSQL": "Host=localhost;Port=5432;Database=abctemplate;Username=postgres;Password=123456;" + "PostgreSQL": "Host=localhost;Port=15432;Database=abctemplate;Username=postgres;Password=123456;" }, "RabbitMQ": { "HostName": "localhost", diff --git a/scripts/init-infrastructure.ps1 b/scripts/init-infrastructure.ps1 index cb1f519..42777ec 100644 --- a/scripts/init-infrastructure.ps1 +++ b/scripts/init-infrastructure.ps1 @@ -214,7 +214,7 @@ function Start-Infrastructure { Write-Host "" Write-Host "📋 Service Summary:" -ForegroundColor Cyan Write-Host "===================" - Write-Host "✅ Redis: localhost:6379" + Write-Host "✅ Redis: 81.68.223.70:16379,password=sl52788542" if ($Postgres) { Write-Host "✅ PostgreSQL: localhost:5432 (postgres/123456)" diff --git a/scripts/init-infrastructure.sh b/scripts/init-infrastructure.sh index 16f8819..111046f 100644 --- a/scripts/init-infrastructure.sh +++ b/scripts/init-infrastructure.sh @@ -146,7 +146,7 @@ main() { echo echo "📋 Service Summary:" echo "===================" - echo "✅ Redis: localhost:6379" + echo "✅ Redis: 81.68.223.70:16379,password=sl52788542" echo "✅ MySQL: localhost:3306 (root/123456)" echo "✅ RabbitMQ: localhost:5672 (guest/guest)" echo "📊 RabbitMQ Management UI: http://localhost:15672" diff --git a/src/Fengling.Member.Web/appsettings.Development.json b/src/Fengling.Member.Web/appsettings.Development.json index e2ac1ac..9c262f3 100644 --- a/src/Fengling.Member.Web/appsettings.Development.json +++ b/src/Fengling.Member.Web/appsettings.Development.json @@ -7,7 +7,7 @@ }, "ConnectionStrings": { "PostgreSQL": "Host=localhost;Database=dev;Username=postgres;Password=123456", - "Redis": "localhost:6379" + "Redis": "81.68.223.70:16379,password=sl52788542" }, "RabbitMQ": { "HostName": "localhost", diff --git a/src/Fengling.Member.Web/appsettings.json b/src/Fengling.Member.Web/appsettings.json index 4b7ab76..08d08a0 100644 --- a/src/Fengling.Member.Web/appsettings.json +++ b/src/Fengling.Member.Web/appsettings.json @@ -8,7 +8,7 @@ "AllowedHosts": "*", "ConnectionStrings": { "PostgreSQL": "Host=localhost;Database=dev;Username=postgres;Password=123456", - "Redis": "localhost:6379" + "Redis": "81.68.223.70:16379,password=sl52788542" }, "RabbitMQ": { "HostName": "localhost",