> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lokpanchang.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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:

| Page                                             | Contents                                                                                                             |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------- |
| [Docker](/infrastructure/docker)                 | Compose services (web, celery, beat, db, redis, admin-portal, docs, caddy, ngrok), ports, volumes, and dependencies. |
| [Meta & WhatsApp](/infrastructure/meta-whatsapp) | Meta Webhooks (verification and POST), connection to WhatsApp Business API, and using WhatsApp template messages.    |
| [AWS](/infrastructure/aws)                       | EC2 hosting and Elastic IP (placeholder).                                                                            |
| [Caddy](/infrastructure/caddy)                   | What Caddy does, why we use it, and how subdomains map to services (api, admin, docs).                               |
| [Ngrok](/infrastructure/ngrok)                   | What Ngrok does, why we use it for local webhook testing, and how it is configured.                                  |

For a quick run from scratch, see [Quickstart](/quickstart). For scheduling and background tasks, see [Scheduling](/scheduling).
