diff --git a/src/docker/Dockerfile-AasxServerBlazor b/src/docker/Dockerfile-AasxServerBlazor index 0133a62c0..391547011 100644 --- a/src/docker/Dockerfile-AasxServerBlazor +++ b/src/docker/Dockerfile-AasxServerBlazor @@ -18,6 +18,7 @@ FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/aspnet:8.0 as base RUN apt update && apt upgrade --yes RUN apt install -y curl nano libgdiplus ENV ASPNETCORE_URLS=http://+:5001 +ENV ASPNETCORE_HTTP_PORTS=8080 EXPOSE 5001 COPY --from=build-env /out/AasxServerBlazor/ /AasxServerBlazor/ COPY ./content-for-demo/ /AasxServerBlazor/ diff --git a/src/docker/docker-compose-demo.yaml b/src/docker/docker-compose-demo.yaml index 52c9ba7f5..cf176719a 100644 --- a/src/docker/docker-compose-demo.yaml +++ b/src/docker/docker-compose-demo.yaml @@ -5,9 +5,10 @@ services: image: adminshellio/aasx-server-blazor-for-demo:v3latest restart: unless-stopped ports: - - "5001:5001" + - "5001:8080" volumes: - ./aasxs:/usr/share/aasxs environment: - ASPNETCORE_URLS=http://+:5001 + - ASPNETCORE_HTTP_PORTS=8080 command: --start-index 0 --no-security --edit --data-path /usr/share/aasxs --external-blazor http://localhost:5001 diff --git a/src/docker/docker-compose.yaml b/src/docker/docker-compose.yaml index 0a8b6d245..13361b771 100644 --- a/src/docker/docker-compose.yaml +++ b/src/docker/docker-compose.yaml @@ -1,3 +1,4 @@ +version: '3.8' services: aasx-server: container_name: aasx-server @@ -7,9 +8,10 @@ services: dockerfile: ./src/docker/Dockerfile-AasxServerBlazor restart: unless-stopped ports: - - "5001:5001" + - "5001:8080" volumes: - ./aasxs:/usr/share/aasxs environment: - ASPNETCORE_URLS=http://+:5001 + - ASPNETCORE_HTTP_PORTS=8080 command: --start-index 0 --no-security --edit --data-path /usr/share/aasxs --external-blazor http://localhost:5001