The WP SSR framework is configured entirely through environment variables loaded from aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Ahondev/portfolio-v2/llms.txt
Use this file to discover all available pages before exploring further.
.env file in the project root. This keeps secrets out of version control and makes environment-specific behaviour explicit. Copy .env.example to .env, fill in the required values, and restart PHP-FPM or your web server — no code changes needed.
Database
The name of the MySQL / MariaDB database. Must exist before WordPress is installed.
The database user that WordPress will connect as. Grant
SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER on the target database.Password for
DB_USER. Leave empty only for local development environments where the database socket has no password.Hostname (and optional port) of the database server. Omit this variable to use the default
localhost.Table prefix applied to all WordPress database tables. Change this from the default
wp_ for security or to run multiple WordPress installations in the same database.A full DSN as an alternative to the individual
DB_* variables. When present, it overrides DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST. Useful for PaaS providers that expose a single connection string.When
DATABASE_URL is set, the individual DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST variables are not required. The framework will parse the DSN automatically via parse_url() in config/application.php.WordPress
Controls which environment overlay is loaded from
config/environments/{WP_ENV}.php. Accepted values: development, staging, production. Defaults to production if not set.| Value | Debug | Indexing | File Mods |
|---|---|---|---|
development | ✅ Enabled | ❌ Blocked | ✅ Allowed |
staging | ❌ Off | ❌ Blocked | ❌ Blocked |
production | ❌ Off | ✅ Allowed | ❌ Blocked |
The full public URL of the site, including scheme (
https://). WordPress uses this as the canonical home URL. Do not include a trailing slash.The URL where WordPress core is installed. In this Bedrock-based setup it is automatically derived as
${WP_HOME}/wp in .env.example — you rarely need to override it manually.Framework-Specific
API token for the Telegram Bot used to deliver contact-form notifications. Obtain one from @BotFather on Telegram. Required only if the Telegram notification feature is enabled in your service layer.
The Telegram chat or channel ID where contact notifications are sent. Use a negative ID for group chats or channels (e.g.
-100123456789).Bearer token sent to
api.ahon.dev when triggering SSG (Static Site Generation) pre-rendering. Required when using the SSG → Generate All Pages workflow in WP Admin or the POST /api/v1/ssg/all REST endpoint.Secret token that protects the
/health monitoring endpoint from unauthenticated access. Generate a cryptographically-random value — see it-tools.tech/token-generator.WordPress Security Keys & Salts
All eight salt variables below are required for WordPress to securely encrypt cookies and authentication tokens. Generate a unique set at roots.io/salts.html.Used to sign authentication cookies.
Used to sign secure (HTTPS-only) authentication cookies.
Used to sign the logged-in cookie.
Used when generating nonces.
Salt for
AUTH_KEY.Salt for
SECURE_AUTH_KEY.Salt for
LOGGED_IN_KEY.Salt for
NONCE_KEY..env:
Environment Overlays
Theconfig/application.php base configuration is always loaded first. After applying its defaults, the framework requires config/environments/{WP_ENV}.php if it exists:
- development
- staging
- production
Enables full debug output, query saving, and script debugging. Also allows file modifications from the admin (installing plugins/themes). Search engine indexing is blocked via
DISALLOW_INDEXING.