Skip to content

Commit

Permalink
use port 3000 as internal port for KratosSelfService
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Oct 25, 2023
1 parent 3ad5005 commit 1c029aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions KratosSelfService/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 3000

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
Expand All @@ -16,4 +16,4 @@ RUN dotnet publish "KratosSelfService.csproj" -c Release -o /app/publish /p:UseA
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "KratosSelfService.dll"]
ENTRYPOINT ["dotnet", "KratosSelfService.dll", "--urls", "http://0.0.0.0:3000"]
2 changes: 1 addition & 1 deletion OryAdmin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 8080

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
#image: ghcr.io/josxha/kratos_self_service:latest
build: ./KratosSelfService
ports:
- "127.0.0.1:5110:8080"
- "127.0.0.1:5110:3000"
networks:
- ory
environment:
Expand Down

0 comments on commit 1c029aa

Please sign in to comment.