68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
# Plugin-System Konfiguration für myCRM
|
|
# Kopiere diese Datei nach .env.local und passe die Werte an
|
|
|
|
###> Plugin-System ###
|
|
|
|
# Wähle Lizenzierungs-Backend: "LicenseValidator" (Standard) oder "GiteaLicenseValidator"
|
|
# Standard: REST-API basierter Lizenzserver
|
|
# Gitea: Nutzt Gitea Repository-Access als Lizenzierung
|
|
LICENSE_BACKEND=LicenseValidator
|
|
|
|
# === Standard Lizenzserver (LICENSE_BACKEND=LicenseValidator) ===
|
|
|
|
# URL des Lizenzservers (ohne trailing slash)
|
|
LICENSE_SERVER_URL=https://license.mycrm.local
|
|
|
|
# === Gitea Lizenzserver (LICENSE_BACKEND=GiteaLicenseValidator) ===
|
|
|
|
# Gitea Base URL (ohne trailing slash)
|
|
GITEA_BASE_URL=https://git.mycrm.local
|
|
|
|
# Gitea Organisation oder User, der die Modul-Repositories besitzt
|
|
GITEA_ORGANIZATION=mycrm
|
|
|
|
# === Gemeinsame Konfiguration ===
|
|
|
|
# Eindeutige Instance-ID (generiere mit: php bin/console app:generate-instance-id
|
|
# oder verwende: uuidgen / openssl rand -hex 16)
|
|
INSTANCE_ID=your-unique-instance-identifier-here
|
|
|
|
###< Plugin-System ###
|
|
|
|
###> Modul-Lizenzen ###
|
|
|
|
# === Für Standard-Lizenzserver (LICENSE_BACKEND=LicenseValidator) ===
|
|
# Format: LICENSE_{MODULE_IDENTIFIER}=JWT-Token-vom-Lizenzserver
|
|
|
|
# Beispiel: Billing-Modul
|
|
# LICENSE_BILLING=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
|
|
|
|
# Beispiel: Invoicing-Modul
|
|
# LICENSE_INVOICING=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
|
|
|
|
# === Für Gitea-Lizenzserver (LICENSE_BACKEND=GiteaLicenseValidator) ===
|
|
# Format: GITEA_TOKEN_{MODULE_IDENTIFIER}=gitea-access-token
|
|
|
|
# Beispiel: Billing-Modul
|
|
# GITEA_TOKEN_BILLING=abc123def456...
|
|
|
|
# Beispiel: Invoicing-Modul
|
|
# GITEA_TOKEN_INVOICING=xyz789ghi012...
|
|
|
|
# Hinweis: Gitea Access Token generieren unter:
|
|
# Gitea → Settings → Applications → Generate New Token
|
|
# Erforderliche Scopes: repo (read access)
|
|
|
|
###< Modul-Lizenzen ###
|
|
|
|
###> Modul-spezifische Konfiguration ###
|
|
|
|
# Billing-Modul: Payment-Gateway
|
|
# PAYMENT_API_KEY=sk_test_...
|
|
|
|
# Inventory-Modul: Lager-System API
|
|
# WAREHOUSE_API_URL=https://warehouse.example.com
|
|
# WAREHOUSE_API_TOKEN=...
|
|
|
|
###< Modul-spezifische Konfiguration ###
|