Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add Docker support#804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
robbeverhelst wants to merge3 commits intoDenverCoder1:main
base:main
Choose a base branch
Loading
fromrobbeverhelst:feat/docker

Conversation

robbeverhelst
Copy link

@robbeverhelstrobbeverhelst commentedJun 23, 2025
edited
Loading

Description

This PR adds Docker support to enable easy self-hosting of GitHub Readme Streak Stats. The implementation provides a production-ready, secure Dockerfile with
minimal changes to the codebase, addressing community requests for containerized deployment options.

Fixes#622

Type of change

  • New feature (added a non-breaking change which adds functionality)
  • Updated documentation (updated the readme, templates, or other repo files)

How Has This Been Tested?

  • Tested locally with a valid username
  • Tested locally with an invalid username
  • Successfully deployed to production Kubernetes cluster
  • Verified all features work including PNG rendering with Inkscape
  • Tested on both ARM64 and x86_64 architectures

Live demo available at:https://streak-stats.robbeverhelst.com/demo/

Checklist:

  • I have checked to make sure no otherpull requests
    are open for this issue
  • The code is properly formatted and is consistent with the existing code style
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Additional Notes

  • Kept changes minimal (2 files) based on feedback fromAdded Docker Support and Heroku Nginx. #322
  • Dockerfile includes security best practices:
    • Disabled directory indexing
    • Security headers (X-Content-Type-Options, X-Frame-Options)
    • Minimal attack surface with--no-install-recommends
    • Proper file permissions
  • Full feature compatibility including SVG and PNG rendering
  • Kubernetes manifests available for separate PR if desired

ildyria reacted with heart emoji
@ildyria
Copy link

@robbeverhelst Great job ! I also improved a bit on your docker image by pinning the versions. Tested locally to work.

robbeverhelst reacted with thumbs up emoji

@robbeverhelst
Copy link
Author

Thx@ildyria! I resolved your comments!

ildyria reacted with heart emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ildyriaildyriaildyria approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Feature request: Docker image
2 participants
@robbeverhelst@ildyria

[8]ページ先頭

©2009-2025 Movatter.jp