From ca6ed7d175b21ec12341863bb11253107457f029 Mon Sep 17 00:00:00 2001 From: Niek Rabelink Date: Wed, 9 Sep 2026 16:00:05 +0200 Subject: [PATCH] Add environment configuration files for database and application settings --- .gitignore | 2 - config/.env.example | 26 ++++++++++ config/config.php | 115 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+), 2 deletions(-) create mode 100644 config/.env.example create mode 100644 config/config.php diff --git a/.gitignore b/.gitignore index 0e388cb..514281b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,3 @@ Thumbs.db *.log .vscode/ .idea/ -config/.env.example -config/config.php \ No newline at end of file diff --git a/config/.env.example b/config/.env.example new file mode 100644 index 0000000..d2a9463 --- /dev/null +++ b/config/.env.example @@ -0,0 +1,26 @@ +# MariaDB Verbinding +DB_HOST="192.168.2.33" +DB_PORT="3306" +DB_NAME="focizdev" +DB_USER="focizdev_user" +DB_PASS="F0c1z_Dev_Secure_2026!" + +# Omgeving: 'development' (knippert rood) of 'live' (knippert groen) +APP_ENV="development" + +# Applicatie URL (voor uitnodigingslinks en OAuth redirects: https://dev.fociz.nl of https://fociz.nl) +APP_URL="https://dev.fociz.nl" + +# Applicatie Geheime Sleutel (willekeurige tekenreeks) +APP_SECRET="fociz-maria-db-super-secret-key-998877" + +# Microsoft 365 / Outlook (Optionele globale defaults; kan ook via web UI worden ingesteld) +MICROSOFT_CLIENT_ID="" +MICROSOFT_CLIENT_SECRET="" +MICROSOFT_TENANT_ID="common" + +# Atlassian Jira Cloud (Optionele globale defaults; kan ook via web UI worden ingesteld) +JIRA_DOMAIN="" +JIRA_EMAIL="" +JIRA_API_TOKEN="" + diff --git a/config/config.php b/config/config.php new file mode 100644 index 0000000..02a2c7a --- /dev/null +++ b/config/config.php @@ -0,0 +1,115 @@ +