This commit is contained in:
whm
2026-03-17 21:51:41 +08:00
parent eb2d5f6579
commit bae341e1bc
4 changed files with 7 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
MONGODB_URI=mongodb://mongo:27017
MONGODB_DB=yxd-agent-testing
PORT=9527
PORT=8088
GIN_MODE=release
# 对外域名CORS、日志与 nginx 反代域名一致
ALLOWED_ORIGINS=https://yuheng.yuxindazhineng.com

View File

@@ -16,5 +16,5 @@ WORKDIR /app
RUN apk add --no-cache ca-certificates tzdata
ENV TZ=Asia/Shanghai
COPY --from=builder /app/server .
EXPOSE 9527
EXPOSE 8088
ENTRYPOINT ["./server"]