Skip to content

Feature: Add Docker Support - #8903

Open
sodium16 wants to merge 3 commits into
JhaSourav07:mainfrom
sodium16:feat/add-docker-support
Open

Feature: Add Docker Support#8903
sodium16 wants to merge 3 commits into
JhaSourav07:mainfrom
sodium16:feat/add-docker-support

Conversation

@sodium16

@sodium16 sodium16 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #8284

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

Copilot AI lite review requested due to automatic review settings August 6, 2026 07:47
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@sodium16 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

@retenta-bot

retenta-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown

This PR adds Docker support, which is a significant enhancement for deployment and development workflows. It aligns with our ongoing efforts to improve user experience and streamline contributions. Please ensure that the Docker setup is well-documented in the README, as this will help new contributors. If you have any questions or need further assistance, feel free to reach out. Happy coding!

@retenta-bot retenta-bot Bot changed the title Feat/add docker support Feature: Add Docker Support Aug 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class Docker support so CommitPulse can be run and deployed in containers (including a local MongoDB via Compose), aligning with the self-hosting goals in #8284.

Changes:

  • Document Docker-based workflows in README.md (Compose for local runs + docker build/run for production).
  • Enable Next.js standalone output to support slimmer runtime images.
  • Add Docker artifacts: Dockerfile, docker-compose.yml, and .dockerignore.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
README.md Adds Docker usage documentation for local and production container runs.
next.config.ts Enables output: 'standalone' so Next builds can be packaged into a smaller runtime image.
Dockerfile Introduces a multi-stage build that runs a Next standalone server in production.
docker-compose.yml Defines an app service plus a MongoDB service for containerized local runs.
.dockerignore Reduces Docker build context size and avoids copying local env files into builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +244 to +252
CommitPulse includes Docker support for consistent local development and production deployments.

### Prerequisites

- Docker
- Docker Compose

### Local Development

Comment thread docker-compose.yml
Comment on lines +21 to +22
ports:
- '27017:27017'
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 4939.27 KB 4939.27 KB 0 B
Total CSS 348.46 KB 348.46 KB 0 B

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.

feat: Add Docker support for containerized deployment

2 participants