chore: sync local updates

This commit is contained in:
2026-05-16 19:03:34 +08:00
parent 9c086c3301
commit 80cf54a201
89 changed files with 10622 additions and 2443 deletions

View File

@@ -0,0 +1,13 @@
# 使用本机/CI 已编译好的 Linux amd64 二进制打包镜像(不在 Docker 内 go build
# 先执行: build-linux-amd64.bat 或 release 目录放置同名文件
FROM alpine:3.20
RUN apk add --no-cache ca-certificates tzdata
WORKDIR /app
ENV HOST=0.0.0.0
ENV PORT=9393
ENV GRPC_PORT=9394
ENV DB_PATH=/app/data/servers.db
COPY release/mengyamonitor-central-linux-amd64 /app/central
RUN chmod +x /app/central
EXPOSE 9393 9394
ENTRYPOINT ["/app/central"]