- 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
1.4 KiB
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
-
Copy environment file:
cp .env.example .env -
Start all services:
docker compose -f deploy/compose.yml up -
Access services:
- Backend: http://localhost:8000
- Frontend: http://localhost:3000
- API Docs: http://localhost:8000/docs
- Database: localhost:5432
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:
- Using separate compose files for different environments
- Implementing proper secret management
- Setting up reverse proxy (nginx/traefik)
- Configuring SSL/TLS certificates
- Setting up monitoring and logging
- Implementing backup strategies
Kubernetes (Optional)
If deploying to Kubernetes, create a k8s/ directory with:
- Deployment manifests
- Service definitions
- ConfigMaps and Secrets
- Ingress configuration