[FEAT] Add possibility to change timeout from env variables or something
まだ誰も着手していません。
評価
- 難易度
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
vicharanashala/fln#564 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
haskell-actions/setup#152 ·
-
feature-request helm
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gravitational/teleport#69785 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main オープンarea: ci bug perceived difficulty: 3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
TencentCloud/Octop#1007 ·