Skip to content

Commit

Permalink
Bugfix/fix docker ports (#315)
Browse files Browse the repository at this point in the history
* update ports

* fix settings for docker

* update port settings
  • Loading branch information
Freezor authored Jun 28, 2024
1 parent 6b97343 commit 81f16da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/AasxServerBlazor/BlazorServerStarter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static class BlazorServerStarter
{
private const string AppSettingsFileName = "appsettings.json";
private const string KestrelEndpointsHttpUrl = "Kestrel:Endpoints:Http:Url";
private const string DefaultUrl = "http://localhost:5000";
private const string DefaultUrl = "http://+:5001";
private const char KestrelUrlSeparator = ':';

public static void Main(string[] args)
Expand Down
3 changes: 1 addition & 2 deletions src/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'
services:
aasx-server:
container_name: aasx-server
Expand All @@ -15,4 +14,4 @@ services:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5001
- ASPNETCORE_HTTP_PORTS=5001
command: --start-index 0 --no-security --edit --data-path /usr/share/aasxs --external-blazor http://localhost:5001
command: --start-index 0 --no-security --edit --data-path /usr/share/aasxs --external-blazor http://+:5001

0 comments on commit 81f16da

Please sign in to comment.