Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature Request] Support for DASH_HOST / DASH_PORT as environment overrides

Aperta
#3,400 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Inizia esaminando la gestione delle variabili d’ambiente introdotta nella pull request #1134 e individua il supporto esistente per HOST/PORT nel server Dash. Il lavoro è completato quando DASH_HOST e DASH_PORT hanno la precedenza quando sono impostate, mentre le variabili HOST e PORT esistenti continuano a funzionare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature

Is your feature request related to a problem? Please describe.
I'd like to be able to set DASH_HOST/DASH_PORT as environment variables to exclusively control the listen address for the dash server. HOST/PORT are too generic and collide with other services running on the same environment.

Describe the solution you'd like
Support DASH_HOST and DASH_PORT in addition to HOST and PORT, preferring DASH_HOST/DASH_PORT if they're provided.

Describe alternatives you've considered
I don't see any.

Additional context
From looking at https://github.com/plotly/dash/pull/1134 it seems like the intention was to name this environment variable DASH_HOST, but for some reason it was implemented as just HOST. Not sure if this was a mistake but we probably can't remove support for HOST without a breaking change.

Lingua principale
Python
Stelle
24.4k
Fork
2.3k
Merge medio
1g 21h
PR unite (30g)
19

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di plotly/dash

Tutte le issue di plotly/dash

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.