Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[FEAT] Add possibility to change timeout from env variables or something

未关闭
#45 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

首先检查现有的 haproxy.cfg 和 /templates/haproxy.cfg 的挂载流程,然后检查 docker-compose.yml 如何提供容器环境变量。定义应可配置的超时设置,并验证长时间运行的 Docker operator 请求不再提前结束,且无需自定义配置文件。

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

描述

enhancement no-issue-activity
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

贡献指南

打开贡献指南

从这里开始

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

linuxserver/docker-socket-proxy 的其他 Issue

查看 linuxserver/docker-socket-proxy 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

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