Update server config, SSL handling, and port mapping logic
Refactored `run_server` to accept explicit config and SSL paths. Added dynamic environment-based config loading and stricter SSL path checks for production. Updated `docker-compose.yml` to use environment variable for port mapping and adjusted `config_prod.json` to reflect correct port usage.
This commit is contained in:
parent
17fee74862
commit
2e6d06018c
@ -21,4 +21,5 @@ async def job_event_generator(db):
|
||||
|
||||
@router.get("/jobs/stream")
|
||||
async def stream_jobs(db: Session = Depends(get_db)):
|
||||
# test
|
||||
return StreamingResponse(job_event_generator(db), media_type="text/event-stream")
|
||||
|
Loading…
x
Reference in New Issue
Block a user