# Pubwhale demo bundle. `./load.sh` generates a .env from this file and fills # in the __PLACEHOLDER__ secrets. Edit .env, not this file. # --- Public site ------------------------------------------------------------ # Used for canonical URLs, hreflang, sitemap and Open Graph tags. # NOTE: this is also compiled into the frontend image at build time. Changing # it here fixes server-rendered metadata but not values already inlined in the # client bundle — see README.md "Retargeting to a real domain". NEXT_PUBLIC_SITE_URL=http://localhost:3026 WEB_PORT=3026 # Port for the original, WordPress-less site (docker-compose.orig.yml). ORIG_WEB_PORT=3027 # --- Headless WordPress ----------------------------------------------------- # Server-side base URL: the internal service name, so CMS traffic never leaves # the Docker network. WORDPRESS_API_URL=http://wordpress # Browser-facing CMS origin. Media URLs and next/image patterns follow this. WORDPRESS_PUBLIC_URL=http://localhost:8080 WORDPRESS_PORT=8080 WORDPRESS_REVALIDATE_SECONDS=300 WORDPRESS_TIMEOUT_MS=8000 # Shared secret for POST /api/revalidate. REVALIDATE_SECRET=__REVALIDATE_SECRET__ PUBWHALE_FRONTEND_URL=http://web:3000 PUBWHALE_FRONTEND_ORIGIN=http://localhost:3026 # --- WordPress database ----------------------------------------------------- WORDPRESS_DB_NAME=pubwhale WORDPRESS_DB_USER=pubwhale WORDPRESS_DB_PASSWORD=__DB_PASSWORD__ WORDPRESS_DB_ROOT_PASSWORD=__DB_ROOT_PASSWORD__ # --- WordPress admin -------------------------------------------------------- # The bundled database dump already contains this account. These values are # only used if you re-seed from scratch with the `init` profile. WORDPRESS_SITE_TITLE=Pubwhale CMS WORDPRESS_ADMIN_USER=pubwhale WORDPRESS_ADMIN_PASSWORD=pubwhale-b61e8864cd2c WORDPRESS_ADMIN_EMAIL=admin@example.com