left4me: wire LEFT4ME_PORT_RANGE_{START,END} into web.env
Bundle metadata declares port_range_start/end in defaults, but the running app (l4d2web/config.py:34-35) reads them from LEFT4ME_PORT_RANGE_START/END env vars. Without these in web.env, the bundle's metadata values were dead code and the app fell back to its own hardcoded defaults. Wiring them through closes the loop.
This commit is contained in:
parent
3afd4d60cc
commit
e842e7caa6
1 changed files with 2 additions and 0 deletions
|
|
@ -3,3 +3,5 @@ DATABASE_URL=sqlite:////var/lib/left4me/left4me.db
|
|||
SECRET_KEY=${node.metadata.get('left4me/secret_key')}
|
||||
JOB_WORKER_THREADS=${node.metadata.get('left4me/job_worker_threads')}
|
||||
SESSION_COOKIE_SECURE=true
|
||||
LEFT4ME_PORT_RANGE_START=${node.metadata.get('left4me/port_range_start')}
|
||||
LEFT4ME_PORT_RANGE_END=${node.metadata.get('left4me/port_range_end')}
|
||||
|
|
|
|||
Loading…
Reference in a new issue