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

オープン
#45 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxserver/docker-socket-proxy のほかの issue

linuxserver/docker-socket-proxy の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。