AWS Deployment Guide
Quick Start
-
Pull the latest changes:
cd /root/my-recipes git pull origin aws -
Navigate to the AWS deployment folder:
cd aws -
Run docker-compose:
docker compose up -d -
Check logs:
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
# 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/