Configuration
The installer writes .env.prod in the checkout with mode 0600. It holds the
instance configuration and its secrets. Edit it with care and keep a copy with
your backups: without APP_KEY and the backup archive password, a backup cannot
be restored.
Instance name and timezone are set in the app under Settings → Instance, update checks under Settings → Updates. Members, team email addresses and alert routing also live in the app, not in this file.
Apply a change
Section titled “Apply a change”Recreate the containers after editing .env.prod. A plain restart does not load
changed values.
dc() { docker compose --env-file .env.prod "$@"; }dc up -d --waitAlerts are sent by email. The default MAIL_MAILER=log only writes messages to
the log. Set an SMTP server:
MAIL_MAILER=smtpMAIL_HOST=smtp.example.comMAIL_PORT=587MAIL_USERNAME=heptapod@example.comMAIL_PASSWORD=change-meMAIL_FROM_ADDRESS=heptapod@example.comAfter recreating the containers, send a test message from Settings → Channels. Heptapod records whether the SMTP server accepted each alert. Acceptance does not prove inbox delivery.
Common settings
Section titled “Common settings”| Variable | Default | Purpose |
|---|---|---|
APP_URL |
from installer | Public HTTPS URL. Used in links, emails and passkey origins. Change together with SERVER_NAME. |
HEPTAPOD_CRAWL_CONCURRENCY |
1 |
Parallel crawl workers. Use 2 on 8 GB or larger servers. |
HORIZON_MEMORY_LIMIT |
1990m |
Memory cap for the queue workers. Use 2990m with two crawl workers. |
HEPTAPOD_CRAWL_TIMEOUT_SECONDS |
1200 |
Time limit for one broken-link crawl. |
BACKUP_DISK |
backups |
Where scheduled backups are written. S3-compatible disks are supported. |
INSTANCE_HEARTBEAT_URL |
empty | A URL Heptapod requests every minute, for an external dead-man alert. |
TRUSTED_PROXIES |
empty | IPs or CIDRs of your own reverse proxy. Never *. |
COMPOSE_PROFILES, HEPTAPOD_BROWSER_ENABLED |
browser, true |
Browser services for Lighthouse. Change both together. |
Watch the watcher
Section titled “Watch the watcher”Heptapod cannot alert you when its own server is down. Set
INSTANCE_HEARTBEAT_URL to a heartbeat URL at an independent service, so a
missed ping from Heptapod raises an alert somewhere else.
The system status is in Settings → System. On the server, run:
dc exec app php artisan heptapod:system-health