Skip to content

Add Gunicorn-friendly app factory and document Compose deployment - #511

Merged
cjlapao merged 1 commit into
Parallels:masterfrom
rogerlew:master
Oct 10, 2025
Merged

Add Gunicorn-friendly app factory and document Compose deployment#511
cjlapao merged 1 commit into
Parallels:masterfrom
rogerlew:master

Conversation

@rogerlew

Copy link
Copy Markdown
Contributor
  • introduce rq_dashboard/app.py providing a Flask application factory that wraps the existing blueprint, normalises the /rq-dashboard prefix, pulls env configuration (Redis URL, serializer, etc.), and exposes a callable for Gunicorn and other WSGI servers
  • update the README with a “Running as Container in Docker Compose” guide covering pros/cons versus embedding the blueprint, the custom app.py rationale, an inline Dockerfile and compose service example, and Caddy reverse-proxy headers needed to serve the UI under /rq-dashboard/

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Documentation Change
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests (pytest) that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG.md file accordingly
  • I have added tests that prove my fix is effective or that my feature works

- introduce rq_dashboard/app.py providing a Flask application factory that wraps the existing blueprint, normalises the /rq-dashboard prefix, pulls env configuration (Redis URL, serializer, etc.), and exposes a callable for Gunicorn and other WSGI servers
- update the README with a “Running as Container in Docker Compose” guide covering pros/cons versus embedding the blueprint, the custom app.py rationale, an inline Dockerfile and compose service example, and Caddy reverse-proxy headers needed to serve the UI under /rq-dashboard/
@cjlapao
cjlapao merged commit 1f01124 into Parallels:master Oct 10, 2025
6 checks passed
@cjlapao

cjlapao commented Oct 10, 2025

Copy link
Copy Markdown
Collaborator

@rogerlew Thanks for the work, this has now been released

perekatypola pushed a commit to vizor-games/rq-dashboard that referenced this pull request Nov 10, 2025
perekatypola pushed a commit to vizor-games/rq-dashboard that referenced this pull request Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants