fix(env): lock production hostnames to live environment and live database

This commit is contained in:
2026-10-05 10:39:17 +02:00
parent dc6b55e4f9
commit 0c466972c2
3 changed files with 43 additions and 28 deletions
+7 -10
View File
@@ -1,17 +1,14 @@
# =========================================================================
# FOCIZ CONFIGURATIE — DEVELOPMENT OMGEVING (dev.fociz.nl)
# =========================================================================
# FOCIZ CONFIGURATIE (Centraal)
# De omgeving en database worden automatisch veilig bepaald op basis van het domein:
# - dev.fociz.nl / localhost => development (focizdev / focizdev_user)
# - www.fociz.nl / fociz.nl => live (fociz / focizlive_user)
# Optionele serverspecifieke overrides kunnen in de root /.env worden geplaatst.
# =========================================================================
# MariaDB Verbinding
# MariaDB Server
DB_HOST="192.168.2.33"
DB_PORT="3306"
DB_NAME="focizdev"
DB_USER="focizdev_user"
DB_PASS="F0c1z_Dev_Secure_2026!"
# Omgeving & URL
APP_ENV="development"
APP_URL="https://dev.fociz.nl"
# Applicatie Geheime Sleutel (voor tokenversleuteling & OAuth state)
APP_SECRET="fociz-maria-db-super-secret-key-998877"