chore: enhance configuration for gateway URL handling
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m43s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m43s
- Added GW_URL and GwUrl environment variables in frontoffice-deployment.yaml and Dockerfile for consistent gateway URL configuration. - Updated AddGrpcServices method to resolve gateway URL from both environment variables, ensuring proper error handling for missing values. - Modified TokenNotificationService to prioritize GW_URL over GwUrl for improved configuration flexibility.
This commit is contained in:
@@ -21,6 +21,7 @@ WORKDIR /app
|
||||
COPY --from=build /app/publish .
|
||||
|
||||
ENV ASPNETCORE_URLS=http://+:80
|
||||
ENV GW_URL=https://cms.se.kbs1.ir
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["dotnet", "FrontOffice.Main.dll"]
|
||||
|
||||
Reference in New Issue
Block a user