localgreenchain/.dockerignore
Claude 5ea8bab5c3
Add production deployment infrastructure (Agent 4)
- Docker: Multi-stage Dockerfile with security hardening, docker-compose
  for production and development environments
- Environment: Comprehensive .env.example with all config options,
  lib/config/env.ts for typed environment validation
- Logging: Structured JSON logging with request/response middleware
- Monitoring: Prometheus metrics endpoint, Grafana dashboard, health
  checks (liveness/readiness probes)
- Security: Security headers, rate limiting, CORS middleware
- CI/CD: GitHub Actions workflows for CI, production deploy, and
  preview deployments
- Error tracking: Sentry integration foundation

Files created:
- Docker: Dockerfile, docker-compose.yml, docker-compose.dev.yml, .dockerignore
- Config: lib/config/env.ts, lib/config/index.ts
- Logging: lib/logging/logger.ts, lib/logging/middleware.ts
- Monitoring: lib/monitoring/sentry.ts, lib/monitoring/metrics.ts,
  lib/monitoring/health.ts
- Security: lib/security/headers.ts, lib/security/rateLimit.ts,
  lib/security/cors.ts
- API: pages/api/health/*, pages/api/metrics.ts
- Infra: infra/prometheus/prometheus.yml, infra/grafana/*
2025-11-23 03:54:03 +00:00

77 lines
919 B
Text

# LocalGreenChain Docker Ignore
# Prevents copying unnecessary files to Docker context
# Dependencies
node_modules
.pnp
.pnp.js
# Testing
coverage
.nyc_output
cypress/videos
cypress/screenshots
__tests__
# Build outputs (we rebuild inside container)
.next
out
build
dist
# Development files
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# Environment files (should be passed at runtime)
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# IDE and editor files
.idea
.vscode
*.swp
*.swo
*~
# OS files
.DS_Store
Thumbs.db
# Git
.git
.gitignore
# Docker
Dockerfile*
docker-compose*
.docker
# Documentation (not needed in production)
*.md
docs
CHANGELOG.md
README.md
LICENSE
# Misc
.eslintcache
.turbo
*.tsbuildinfo
# Data files (should be mounted as volumes)
data
*.json.bak
# Tor configuration (handled separately)
tor
# Infrastructure files
infra
.github