fix: 添加 authserver 和 internalgateway 的端口配置,移除多余的端口暴露

This commit is contained in:
2025-10-20 16:17:11 +08:00
parent 15cef7a060
commit 136ad489b4
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,8 @@ services:
- AgileConfig__Name=KonSoft.InternalGateway
- AgileConfig__Nodes=https://config.konsoft.top/
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
ports:
- 8080:8080
authserver:
container_name: clean-authserver
@ -24,6 +26,8 @@ services:
- AgileConfig__Name=KonSoft.AuthServer
- AgileConfig__Nodes=https://config.konsoft.top/
- AgileConfig__Secret=DBE31703-14F9-4B01-893D-900B8380CE04
ports:
- 8081:8081
adminservice:
container_name: clean-adminservice

View File

@ -2,7 +2,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER $APP_UID
WORKDIR /app
EXPOSE 8080
EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build