From 81de76bcca57442abc09fbb5482da1a2bf2e7b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Sun, 13 Oct 2019 17:30:32 +0300 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 454e264..8d538fa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# SteamOpenIdConnectProvider +# Steam OpenId Connect Provider Steam OpenID 2.0 -> OpenID Connect Provider Proxy ## About From 0e1b5cc469632ca88e8e5f9ca4b7045b74ec1711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Sun, 13 Oct 2019 17:35:44 +0300 Subject: [PATCH 2/3] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8d538fa..17dadb9 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ Add your Steam API Key as user-secrets like this: After that set up your redirect URI, ClientID and ClientSecret in the appsettings.json. +## Health checks +This service contains a health check endpoint at `/health`. It checks if the Steam login server is up. + ## Docker [A docker image](https://hub.docker.com/r/imperialplugins/steam-openid-connect-provider) is also available. From 8ed663e8030862e3f0d118850bb3af41721b3d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Sun, 13 Oct 2019 19:05:15 +0300 Subject: [PATCH 3/3] Fix wrong health check port --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb97c8e..55b1134 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,5 +12,5 @@ RUN dotnet publish "SteamOpenIdConnectProvider.csproj" -c Release -o /app FROM mcr.microsoft.com/dotnet/core/aspnet:3.0 AS base WORKDIR /app COPY --from=publish /app . -HEALTHCHECK CMD curl --fail http://localhost:5000/health || exit 1 -ENTRYPOINT ["dotnet", "SteamOpenIdConnectProvider.dll"] \ No newline at end of file +HEALTHCHECK CMD curl --fail http://localhost:80/health || exit 1 +ENTRYPOINT ["dotnet", "SteamOpenIdConnectProvider.dll"]