Lenverge/Lenvi.yaml
2025-06-17 01:12:05 +00:00

72 lines
2.2 KiB
YAML

# ------------------------------------------------------------------
# Lenvi: Central Configuration for Your Development Environment
# ------------------------------------------------------------------
# ----------------------------------------------------------------------------------------
# 🔧 CONFIGURATION GUIDELINES
# utilities:
# phpmyadmin:
# enabled: false
# domain: "pma.lenvi.local" # Local domain (can be customized)
# php_version: "8.2" # Must match one of your project's PHP versions
# redis:
# enabled: false
# db_engine:
# Choose between mariadb, mysql, or postgresql. Lenvi will install and manage the correct service.
# db_credentials:
# Used for all auto-provisioned databases.
# sites:
# A list of all your projects.
# - domain: Local domain to access via browser.
# project_root: Base project directory (where .git or composer.json is).
# document_root: Public web directory served by Nginx (e.g., /public).
# php_version: PHP version for this project.
# database: (Optional) Database name to create for this project.
# ----------------------------------------------------------------------------------------
# 🔌 Utilities
utilities:
phpmyadmin:
enabled: false
domain: "pma.lenvi.local"
php_version: "8.3"
redis:
enabled: false
# 🛢️ Database Engine
db_engine: "mariadb"
# 🔐 Database Credentials
db_credentials:
user: "Lenvi"
password: "secret"
# 🌐 Project Sites
# WSL USERS: Ensure these paths are correct.
# If using the Windows filesystem (e.g., /mnt/c/Users/...), expect slower performance.
# For *blazing fast* performance, place your projects inside the WSL filesystem (e.g., `/home/user`).
sites:
- domain: mylaravelapp.local
project_root: /home/lenvi/projects/laravel
document_root: /home/lenvi/projects/laravel/public
php_version: "8.2"
database: "laravel_db"
- domain: mylegacyapp.local
project_root: /home/lenvi/projects/legacy-site
document_root: /home/lenvi/projects/legacy-site
php_version: "8.0"
database: "legacy_db"
- domain: simple.local
project_root: /home/lenvi/projects/simple
document_root: /home/lenvi/projects/simple
php_version: "8.3"