fix: 添加 authserver 和 internalgateway 的端口配置,移除多余的端口暴露
This commit is contained in:
@ -11,6 +11,8 @@ services:
|
|||||||
- AgileConfig__Name=KonSoft.InternalGateway
|
- AgileConfig__Name=KonSoft.InternalGateway
|
||||||
- AgileConfig__Nodes=https://config.konsoft.top/
|
- AgileConfig__Nodes=https://config.konsoft.top/
|
||||||
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
|
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
|
||||||
authserver:
|
authserver:
|
||||||
container_name: clean-authserver
|
container_name: clean-authserver
|
||||||
@ -24,6 +26,8 @@ services:
|
|||||||
- AgileConfig__Name=KonSoft.AuthServer
|
- AgileConfig__Name=KonSoft.AuthServer
|
||||||
- AgileConfig__Nodes=https://config.konsoft.top/
|
- AgileConfig__Nodes=https://config.konsoft.top/
|
||||||
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
|
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
|
||||||
|
ports:
|
||||||
|
- 8081:8081
|
||||||
|
|
||||||
adminservice:
|
adminservice:
|
||||||
container_name: clean-adminservice
|
container_name: clean-adminservice
|
||||||
|
|||||||
@ -2,7 +2,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
|||||||
USER $APP_UID
|
USER $APP_UID
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
EXPOSE 8081
|
|
||||||
|
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
|
|||||||
Reference in New Issue
Block a user