diff --git a/.gitignore b/.gitignore index 6b94ae6..c7e0bff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,12 @@ -# Environment +# Environment & Secrets .env +.env.* .env*.local +*.env +config/.env +config/.env.* +!.env.example +!config/.env.example # Systeem & Editor .DS_Store diff --git a/config/.env b/config/.env deleted file mode 100644 index 0a4477d..0000000 --- a/config/.env +++ /dev/null @@ -1,33 +0,0 @@ -# ========================================================================= -# FOCIZ CONFIGURATIE — LIVE PRODUCTIE (www.fociz.nl) -# ========================================================================= - -# MariaDB Verbinding -DB_HOST="192.168.2.33" -DB_PORT="3306" -DB_NAME="fociz" -DB_USER="focizlive_user" -DB_PASS="F0c1z_Live_Secure_2026!" - -# Omgeving & URL -APP_ENV="live" -APP_URL="https://www.fociz.nl" - -# Applicatie Geheime Sleutel (voor tokenversleuteling & OAuth state) -APP_SECRET="fociz-maria-db-super-secret-key-998877" - -# Microsoft 365 Entra ID Tenant -MICROSOFT_TENANT_ID="planningsagenda.nl" - -# SMTP Mail Server -SMTP_HOST="mail.fociz.nl" -SMTP_PORT="587" -SMTP_USER="info@fociz.nl" -SMTP_PASS="6swpQSBg5uWFmjar7F6a" -SMTP_SECURE="tls" -SMTP_FROM_EMAIL="info@fociz.nl" -SMTP_FROM_NAME="Fociz" -SMTP_REPLY_TO="info@fociz.nl" - -# Webhooks (optioneel) -JIRA_WEBHOOK_SECRET="fociz_webhook_live_2026" \ No newline at end of file diff --git a/config/.env.example b/config/.env.example new file mode 100644 index 0000000..b930d6c --- /dev/null +++ b/config/.env.example @@ -0,0 +1,38 @@ +# ========================================================================= +# FOCIZ OMGEVINGSCONFIGURATIE VOORBEELD (TEMPLATE) +# ========================================================================= +# Alle actieve database- en applicatie-instellingen staan centraal in: +# config/config.php +# +# Indien gewenst kan een lokaal .env bestand in de hoofdmap worden geplaatst +# om specifieke variabelen lokaal te overschrijven. + +DB_HOST="127.0.0.1" +DB_PORT="3306" +DB_NAME="fociz" +DB_USER="fociz_user" +DB_PASS="" + +APP_ENV="live" +APP_URL="https://www.fociz.nl" +APP_SECRET="" + +MICROSOFT_CLIENT_ID="" +MICROSOFT_CLIENT_SECRET="" +MICROSOFT_TENANT_ID="" + +JIRA_DOMAIN="" +JIRA_EMAIL="" +JIRA_API_TOKEN="" + +# SMTP Mail Server +SMTP_HOST="mail.fociz.nl" +SMTP_PORT="587" +SMTP_USER="info@fociz.nl" +SMTP_PASS="" +SMTP_SECURE="tls" +SMTP_FROM_EMAIL="no-reply@fociz.nl" +SMTP_FROM_NAME="Fociz" +SMTP_REPLY_TO="info@fociz.nl" + +