| Page | Contents |
|---|---|
| Docker | Compose services (web, celery, beat, db, redis, admin-portal, docs, caddy, ngrok), ports, volumes, and dependencies. |
| Meta & WhatsApp | Meta Webhooks (verification and POST), connection to WhatsApp Business API, and using WhatsApp template messages. |
| AWS | EC2 hosting and Elastic IP (placeholder). |
| Caddy | What Caddy does, why we use it, and how subdomains map to services (api, admin, docs). |
| Ngrok | What Ngrok does, why we use it for local webhook testing, and how it is configured. |
Infrastructure
Infrastructure overview
How the Lok Panchang stack is run: Docker, Meta/WhatsApp, AWS, Caddy, and Ngrok
The application runs on a mix of Docker Compose (all app services), Meta WhatsApp Business API (webhooks and messaging), and AWS (EC2 for hosting; optional S3 for log backups). Caddy provides the public entrypoint and TLS in production; Ngrok is used in development to expose the webhook locally.
This section is split into separate pages:
For a quick run from scratch, see Quickstart. For scheduling and background tasks, see Scheduling.
