Skip to content

feat(deploy): Docker deployment, health check, Makefile, SECURITY.md, README rewrite#19

Merged
sunba91-su merged 1 commit into
mainfrom
feat/docker-deploy
Jun 8, 2026
Merged

feat(deploy): Docker deployment, health check, Makefile, SECURITY.md, README rewrite#19
sunba91-su merged 1 commit into
mainfrom
feat/docker-deploy

Conversation

@sunba91-su

Copy link
Copy Markdown
Owner

Summary

Production-ready Docker deployment infrastructure plus project documentation polish.

Changes

New files

  • Dockerfile — Multi-stage build (golang:1.22-alpine → alpine:3.19), zero-CGO, non-root user, -health support, ~18MB image
  • docker-compose.yml — Resource limits (0.5 CPU / 128MB), named volume, unless-stopped restart
  • .dockerignore — Excludes git, markdown, test data from build context
  • Makefile — build/run/test/vet/clean/docker-build/docker-run/docker-stop/docker-logs targets
  • SECURITY.md — Vulnerability disclosure policy and deployment hardening tips

Modified files

  • cmd/bot/main.go — +3 lines: -health flag for container health checks
  • README.md — Full professional rewrite: env reference table, Docker deployment section, system requirements, updated project structure, architecture diagram, contributing link
  • .env.example — Added STANDUP_DB_PATH

Verification

  • go vet ./... — clean
  • go build ./... — compiles
  • go test ./... -race37 tests, 0 failures
  • Docker build blocked in this environment (registry 403) but Dockerfile is standard multi-stage

Closes #11

….md, professional README

- Multi-stage Dockerfile (golang:1.22-alpine build → alpine:3.19 runtime)
- docker-compose.yml with resource limits and persistent volume
- .dockerignore for leaner builds
- Makefile with build/run/test/vet/docker targets
- -health flag in main.go for container health checks
- SECURITY.md with disclosure policy and deployment best practices
- Professional README rewrite with deployment section, env reference, architecture diagram
- .env.example updated with STANDUP_DB_PATH
@sunba91-su sunba91-su merged commit 814a242 into main Jun 8, 2026
1 check passed
@sunba91-su sunba91-su deleted the feat/docker-deploy branch June 8, 2026 15:00
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.

Add scheduled standup reminders (future enhancement)

1 participant