# AWS Deployment Guide ## Quick Start 1. Pull the latest changes: ```bash cd /root/my-recipes git pull origin aws ``` 2. Navigate to the AWS deployment folder: ```bash cd aws ``` 3. Run docker-compose: ```bash docker compose up -d ``` 4. Check logs: ```bash docker compose logs -f ``` ## What's Included - `docker-compose.yaml` - Docker compose configuration with all services - `.env` - Environment variables with AWS RDS, R2, OAuth configs ## Services - **Backend**: http://localhost:8000 (FastAPI) - **Frontend**: http://localhost (Nginx) ## Configuration All configuration is in the `.env` file: - AWS RDS endpoint already configured - Cloudflare R2 backup storage configured - Google & Azure OAuth configured - Email SMTP configured ## Useful Commands ```bash # Start services docker compose up -d # Stop services docker compose down # View logs docker compose logs -f # Restart services docker compose restart # Rebuild and start docker compose up -d --build # Remove everything (including volumes) docker compose down -v ``` ## Backups Automatic backups are scheduled weekly on Sundays at 2:00 AM and stored in Cloudflare R2. Manual backups location: `../backend/backups/`