Files
project-bootstrap/templates/deploy/README.md
Bill 8dd4f0ca63 Initial commit: Complete project-bootstrap tool
- Bootstrap script for creating monorepo projects
- FastAPI backend templates with uv, ruff, mypy, pytest
- React frontend templates with TypeScript, ESLint, Prettier
- Docker Compose setup with backend, frontend, and database
- 9 development and CI scripts
- Gitea Actions CI/CD workflows
- Comprehensive documentation (8 files)
- 45 template files for complete project structure
- Automated verification script (all tests pass)
- Based on coding-agent-rules standards
2025-10-15 21:34:08 -04:00

1.4 KiB

Deployment Configuration

This directory contains deployment artifacts for the project.

Structure

  • compose.yml - Docker Compose configuration for local development and deployment
  • .env.example - Example environment variables
  • docker/ - Dockerfiles and container documentation

Quick Start

Local Development

  1. Copy environment file:

    cp .env.example .env
    
  2. Start all services:

    docker compose -f deploy/compose.yml up
    
  3. Access services:

Stop Services

docker compose -f deploy/compose.yml down

Rebuild Services

docker compose -f deploy/compose.yml up --build

View Logs

# All services
docker compose -f deploy/compose.yml logs -f

# Specific service
docker compose -f deploy/compose.yml logs -f backend

Production Deployment

For production deployments, consider:

  1. Using separate compose files for different environments
  2. Implementing proper secret management
  3. Setting up reverse proxy (nginx/traefik)
  4. Configuring SSL/TLS certificates
  5. Setting up monitoring and logging
  6. Implementing backup strategies

Kubernetes (Optional)

If deploying to Kubernetes, create a k8s/ directory with:

  • Deployment manifests
  • Service definitions
  • ConfigMaps and Secrets
  • Ingress configuration