Custom Port

未关闭
#7,192 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
docker, typescript
领域
devops, frontend

调研方向

从 package.json 开始,找到 port 8080 的定义位置,并从那里追踪 UI 启动入口。比较 issue 中提到的可用配置路径——环境变量、配置文件或 CLI 选项——并确定项目现有的约定。完成的标准是无需编辑 package.json 即可更改 port,并且 Docker 使用 host-network 的场景不再发生冲突。

由索引模型根据 Issue 内容生成。

描述

The port number ( 8080 ) is hard-coded in the package.json file. We can't use a Docker container with the host network because of port conflicts, and there is no way to change the port of Influx UI.

We need to set a custom port using ENV, config file, CLI, etc.

主要语言
TypeScript
星标
118
派生
50
平均合并
2 天 21 小时
30 天内合并 PR
6

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

influxdata/ui 的其他 Issue

查看 influxdata/ui 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。