# WordPress Database credentials # Copy to .env and fill in secure values — never commit .env to git # # If db_data already exists, MYSQL_* must match the password used at first init. # Changing MYSQL_PASSWORD here without aligning MariaDB (or wiping db_data after backup) causes # «Error establishing a database connection» (WordPress still points at db:3306 but auth fails). MYSQL_ROOT_PASSWORD=change_this_root_password MYSQL_PASSWORD=change_this_wordpress_password # WordPress admin (used by setup scripts only) WP_ADMIN_USER=admin WP_ADMIN_EMAIL=admin@bitreport.pt # WP_ADMIN_PASSWORD — set in vault; do not store here # Public URL WordPress uses for redirects (wp-login, wp-admin). On the LXC behind NPM use HTTPS + host: # WORDPRESS_PUBLIC_URL=https://newsproject.bitreport.pt # Local Docker-only dev (browser → localhost:8080): omit or use http://localhost:8080 WORDPRESS_PUBLIC_URL=http://localhost:8080 # Emergency triage on the LXC only: WORDPRESS_DEBUG=1 → WP_DEBUG + display_errors + debug.log # (remove or set 0 after fixing — do not leave on in production). See docker-compose.yml WORDPRESS_CONFIG_EXTRA. # WORDPRESS_DEBUG=0 # ── andebol.net WordPress (port 8081) ───────────────────────────────────────── ANDEBOL_MYSQL_ROOT_PASSWORD=change_this_andebol_root_password ANDEBOL_MYSQL_PASSWORD=change_this_andebol_wordpress_password # Public URL for andebol.net WP instance. # Local smoke test: http://localhost:8081 # Production (LXC behind NPM): https://andebol.net ANDEBOL_WORDPRESS_PUBLIC_URL=http://localhost:8081