diff --git a/README.md b/README.md index dfe085a..ce24ef6 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ docker-compose up docker-compose -f docker-compose.arm64.yml -f docker-compose.override.yml up ``` -This will deploy and start all services required to run the web, mobile, and desktop apps. The Web API will run on `localhost:5000` and the SignalR Hub for listen together will run on `localhost:5001`. +This will deploy and start all services required to run the web, mobile, and desktop apps. The Web API will run on `localhost:5003` and the SignalR Hub for listen together will run on `localhost:5001`. ### Web, Mobile, & Desktop diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 98fb3dd..5603269 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -9,7 +9,7 @@ services: - ASPNETCORE_URLS=http://+:80 - ConnectionStrings__FeedQueue=UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://azurite ports: - - "5000:80" + - "5003:80" podcast.db: environment: diff --git a/src/Mobile/Config.cs b/src/Mobile/Config.cs index 31bd2fb..f36816a 100644 --- a/src/Mobile/Config.cs +++ b/src/Mobile/Config.cs @@ -18,6 +18,6 @@ public static class Config public static string BaseWeb = $"{Base}:5002/"; public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; - public static string APIUrl = $"{Base}:5000/"; + public static string APIUrl = $"{Base}:5003/"; public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; } diff --git a/src/Mobile/README.md b/src/Mobile/README.md index 065d10a..afb095a 100644 --- a/src/Mobile/README.md +++ b/src/Mobile/README.md @@ -19,7 +19,7 @@ In Config.cs you can find: ```csharp public static string BaseWeb = $"{Base}:5002/listentogether"; public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; -public static string APIUrl = $"{Base}:5000/v1/"; +public static string APIUrl = $"{Base}:5003/"; public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; ``` diff --git a/src/MobileBlazor/mauiapp/MauiProgram.cs b/src/MobileBlazor/mauiapp/MauiProgram.cs index 78746fe..e083054 100644 --- a/src/MobileBlazor/mauiapp/MauiProgram.cs +++ b/src/MobileBlazor/mauiapp/MauiProgram.cs @@ -11,7 +11,7 @@ public static class MauiProgram { public static string BaseWeb = $"{Base}:5002/listentogether"; public static string Base = DeviceInfo.Platform == DevicePlatform.Android ? "http://10.0.2.2" : "http://localhost"; - public static string APIUrl = $"{Base}:5000/"; + public static string APIUrl = $"{Base}:5003/"; public static string ListenTogetherUrl = $"{Base}:5001/listentogether"; public static MauiApp CreateMauiApp() diff --git a/src/MobileBlazor/mauiapp/wwwroot/appsettings.json b/src/MobileBlazor/mauiapp/wwwroot/appsettings.json index 97ec96a..14e6683 100644 --- a/src/MobileBlazor/mauiapp/wwwroot/appsettings.json +++ b/src/MobileBlazor/mauiapp/wwwroot/appsettings.json @@ -1,6 +1,6 @@ { "PodcastApi": { - "BaseAddress": "http://localhost:5000" + "BaseAddress": "http://localhost:5003" }, "ListenTogetherHub": "http://localhost:5001/listentogether" } diff --git a/src/Services/ListenTogether/ListenTogether.Hub/appsettings.Development.json b/src/Services/ListenTogether/ListenTogether.Hub/appsettings.Development.json index 24f3c0e..a53e5ab 100644 --- a/src/Services/ListenTogether/ListenTogether.Hub/appsettings.Development.json +++ b/src/Services/ListenTogether/ListenTogether.Hub/appsettings.Development.json @@ -7,7 +7,7 @@ } }, "NetPodcastApi": { - "BaseAddress": "http://localhost:5000/" + "BaseAddress": "http://localhost:5003/" }, "ConnectionStrings": { "ListenTogetherDb": "Server=localhost, 5433;Database=ListenTogether;User Id=sa;Password=Pass@word;Encrypt=False", diff --git a/src/Services/Podcasts/Podcast.API/Properties/launchSettings.json b/src/Services/Podcasts/Podcast.API/Properties/launchSettings.json index ad90294..d608990 100644 --- a/src/Services/Podcasts/Podcast.API/Properties/launchSettings.json +++ b/src/Services/Podcasts/Podcast.API/Properties/launchSettings.json @@ -11,7 +11,7 @@ "Podcast.API": { "commandName": "Project", "launchBrowser": true, - "applicationUrl": "https://localhost:5001;http://localhost:5000", + "applicationUrl": "https://localhost:5001;http://localhost:5003", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/src/Services/Podcasts/Podcast.API/appsettings.Development.json b/src/Services/Podcasts/Podcast.API/appsettings.Development.json index 7a9cff3..7c972fc 100644 --- a/src/Services/Podcasts/Podcast.API/appsettings.Development.json +++ b/src/Services/Podcasts/Podcast.API/appsettings.Development.json @@ -17,7 +17,7 @@ "http://localhost:56906", "https://localhost:44385", "https://localhost:5001", - "http://localhost:5000", + "http://localhost:5003", "1ba2c41d-3a54-414a-9700-1f9393cfafca" ], "ValidIssuer": "dotnet-user-jwts" diff --git a/src/Web/Client/wwwroot/appsettings.Development.json b/src/Web/Client/wwwroot/appsettings.Development.json index 97ec96a..14e6683 100644 --- a/src/Web/Client/wwwroot/appsettings.Development.json +++ b/src/Web/Client/wwwroot/appsettings.Development.json @@ -1,6 +1,6 @@ { "PodcastApi": { - "BaseAddress": "http://localhost:5000" + "BaseAddress": "http://localhost:5003" }, "ListenTogetherHub": "http://localhost:5001/listentogether" } diff --git a/src/Web/Server/appsettings.Development.json b/src/Web/Server/appsettings.Development.json index ef183af..202d27a 100644 --- a/src/Web/Server/appsettings.Development.json +++ b/src/Web/Server/appsettings.Development.json @@ -7,7 +7,7 @@ }, "AllowedHosts": "*", "PodcastApi": { - "BaseAddress": "http://localhost:5000" + "BaseAddress": "http://localhost:5003" }, "ListenTogetherHub": "http://localhost:5001/listentogether" }