Quick start
Install with the published container image. No source checkout required.
Prerequisites
Section titled “Prerequisites”- A host with Docker and the Compose plugin.
- A Postfix server whose
mail.logthis host can read (locally, or mounted over SSHFS).
Install
Section titled “Install”# 1. A working directory and the config filesmkdir postfix-insights && cd postfix-insightscurl -fsSL https://raw.githubusercontent.com/Xodus-CO/postfix-insights/main/docker-compose.prod.yml -o docker-compose.ymlcurl -fsSL https://raw.githubusercontent.com/Xodus-CO/postfix-insights/main/.env.example -o .env
# 2. Generate and set the required CSRF secretsed -i "s/^CSRF_SECRET=$/CSRF_SECRET=$(openssl rand -hex 32)/" .env
# 3. Start the app + sqld sidecardocker compose up -dAccess it at http://<host>:8080. Search is at /, the delivery-health dashboard at /stats.
Set the essentials
Section titled “Set the essentials”Open .env and review the top section. The settings most installs need:
| Setting | What to set |
|---|---|
COMPANY_NAME | Your org name, shown in the UI header |
LOG_TIMEZONE | IANA timezone, e.g. America/New_York |
STATS_INTERNAL_DOMAINS | Comma-separated internal/noise domains to flag in /stats |
ALLOWED_EMAIL_DOMAINS | Restrict emailed reports to these domains (optional) |
HOST_PORT | Host port if 8080 is taken |
See Configuration for the full set.
Pin a release
Section titled “Pin a release”For reproducible deploys, pin the image tag instead of tracking :latest. In docker-compose.yml:
image: ghcr.io/xodus-co/postfix-insights:v3.1.1:latest always follows the most recent release.