Files
Distributed-Prometheus/topology-editor/Dockerfile
Super User 72a5bf30b4 feat: 天地图瓦片缓存(tile-cache)、拓扑标注助手与文档更新
- tile-cache: 瓦片缓存服务(vec/cva)、启动探针、详细日志、上游超时可配置(UPSTREAM_TIMEOUT_MS)
- central: docker-compose 集成 tile-cache,env.example 增加 TILE_CACHE_* / TIANDITU_TK
- topology-editor: 天地图/缓存加载、GPS 安全来源错误提示、TIANDITU 文档(403/白名单、localhost 测试说明)
- doc: README 部署步骤与 GPS 安全来源说明,TIANDITU_CONFIG 完善

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-25 11:11:38 -05:00

19 lines
541 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 拓扑标注助手H5 采集 GPS + 编辑 targets.csv与 edge-agent 同机用 docker-compose 运行
# 构建上下文为项目根目录docker compose -f edge-agent/docker-compose.yml build topology-editor
FROM node:20-alpine
WORKDIR /app
COPY topology-editor/package.json ./
RUN npm install --production
COPY topology-editor/server.js ./
COPY topology-editor/public ./public
ENV PORT=4080
EXPOSE 4080
# 运行时由 docker-compose 挂载 edge-agent/config 到 /config并设置 CONFIG_DIR=/config
CMD ["node", "server.js"]