Files
ipal-kit/reference/.env.example
T
Radosław SmolińskiandClaude Fable 5.2 b91984fbcd IAPL rename: docs, agent guide, skills, reference site and starter on the new names; changelog draft
- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms);
  past CHANGELOG entries and the proposals in docs/dev are not rewritten
- AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames
- iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required
- env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup
- skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were
- reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-25 17:36:09 +01:00

62 lines
2.4 KiB
Bash

# @starter:if demo
# Example Studio — reference site for @intecion/ipal-kit. Copy to .env for local work.
# @starter:else
#: # Example Studio — copy to .env for local work (`iapl create` already wrote one with a fresh PAYLOAD_SECRET).
# @starter:endif
# Production values live in the Coolify app → Environment Variables (docs/DEPLOY.md), never in the repo.
# MongoDB — database name from databaseNamesFor('example-studio.pl'): example-studiopl_dev / example-studiopl_prod
DATABASE_URI=mongodb://127.0.0.1:27017/example-studiopl_dev
# Random, at least 32 characters
PAYLOAD_SECRET=
# Canonical, hreflang, sitemap, OG — the production URL in Coolify
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
# Client IP header for rate limits and consent records (x-forwarded-for behind Coolify's proxy)
IAPL_IP_HEADER=x-forwarded-for
# 1 only on a staging copy (noindex everywhere, no IndexNow)
IAPL_NOINDEX=
# Local and CI production builds only (pnpm build && pnpm start without R2): 1 = media on local disk.
# NEVER set in Coolify — production requires R2.
ALLOW_LOCAL_MEDIA=
# @starter:if graph
#: # Microsoft Graph e-mail (agency-level, all four) — email.md
#: GRAPH_TENANT_ID=
#: GRAPH_CLIENT_ID=
#: GRAPH_CLIENT_SECRET=
#: GRAPH_SENDER=
# @starter:endif
# Cloudflare R2 — all or none; empty = media on local disk (dev)
R2_BUCKET=
R2_ENDPOINT=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_PUBLIC_URL=
# Turnstile — Cloudflare test keys in dev (always pass); production keys go into Site integrations
NEXT_PUBLIC_TURNSTILE_SITE_KEY=1x00000000000000000000AA
TURNSTILE_SECRET_KEY=1x0000000000000000000000000000000AA
# @starter:if crawl
# Cookie scanner "Crawl site" — the shared services/cookie-crawler deployment
IAPL_COOKIE_SCAN_URL=
IAPL_COOKIE_SCAN_TOKEN=
# @starter:endif
# IndexNow key (or generate one in Site integrations)
INDEXNOW_KEY=
# @starter:if demo
# Smoke tests only (e2e/, pnpm test:e2e) — a test admin on the LOCAL / CI database, created by
# e2e/create-test-admin.ts with a known TOTP secret so the test signs in through the real 2FA screen.
# Test values, never used anywhere else; the script refuses a production or non-local database.
E2E_ADMIN_EMAIL=[email protected]
E2E_ADMIN_PASSWORD=e2e-RC2nC29eKC8HJHfg
E2E_TOTP_SECRET=JPURUZNWYTZX2L42MT4SS7736WWNQWBL
# Port of the mail sink the smoke tests start (e2e/smtp-sink.ts); create-test-admin.ts points e-mail sending at it
E2E_SMTP_PORT=2526
# @starter:endif