[FEAT] Add possibility to change timeout from env variables or something
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- docker
调研方向
首先检查现有的 haproxy.cfg 和 /templates/haproxy.cfg 的挂载流程,然后检查 docker-compose.yml 如何提供容器环境变量。定义应可配置的超时设置,并验证长时间运行的 Docker operator 请求不再提前结束,且无需自定义配置文件。
由索引模型根据 Issue 内容生成。
描述
Is this a new feature request?
- I have searched the existing issues
Wanted change
I am using lscr.io/linuxserver/socket-proxy:latest image on my airflow project.
Some of my tasks are docker operators, and some of them takes some time to compute (more than an hour), and for these, I got a Response ended prematurely error related to timeout settings too low from the haproxy.cfg.
I found the solution here:
https://github.com/apache/airflow/discussions/58614
For now, I just downloaded the haproxy.cfg file in the container, increase timeout server value and them, I mount this file in /templates/haproxy.cfg in my docker-compose.yml
Reason for change
I think it could be useful and easier for people to configure timeout parameters from docker environment variables instead of mounting a custom .cfg file.
Proposed code change
No response
- 主要语言
- Dockerfile
- 星标
- 317
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linuxserver/docker-socket-proxy 的其他 Issue
-
enhancement no-issue-activity
难度 4/5 3-5 天 新手友好度 45/100
linuxserver/docker-socket-proxy#49 · 4 条评论 ·
查看 linuxserver/docker-socket-proxy 的全部 Issue
相似的 Issue
-
kb-infra-drift
难度 2/5 1-3 小时 新手友好度 70/100
OCHA-DAP/ds-knowledge-base#653 · 1 条评论 ·
-
intake mcp-intake needs-ac needs-human-review priority:medium type:feature
难度 2/5 1-3 小时 新手友好度 75/100
Ikalus1988/MisakaNet#2102 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
llvm/lighthouse#283 ·
-
🤔 refinement needed
难度 2/5 1-3 小时 新手友好度 75/100
equinor/radix-operator#1979 ·
-
难度 1/5 1 小时以内 新手友好度 85/100