[FEAT] Add possibility to change timeout from env variables or something
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker
- Domain
- infrastructure
Research direction
Start by reviewing the existing haproxy.cfg and the /templates/haproxy.cfg mounting workflow, then inspect how docker-compose.yml supplies container environment variables. Define the timeout settings that should be configurable and verify that long-running Docker operator requests no longer end prematurely without requiring a custom configuration file.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Dockerfile
- Stars
- 317
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxserver/docker-socket-proxy
-
enhancement no-issue-activity
Difficulty 4/5 3-5 days Newbie friendliness 45/100
linuxserver/docker-socket-proxy#49 · 4 comments ·
All issues in linuxserver/docker-socket-proxy
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
vicharanashala/fln#564 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
haskell-actions/setup#152 ·
-
feature-request helm
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gravitational/teleport#69785 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
TencentCloud/Octop#1007 ·