33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
# ------------------------------------------------------------------
|
|
# Lenvi: Central Configuration for Your Development Environment
|
|
# ------------------------------------------------------------------
|
|
|
|
# 1. Set the global database engine.
|
|
db_engine: "mariadb"
|
|
|
|
# 2. Define the global database credentials.
|
|
db_credentials:
|
|
user: "Lenvi"
|
|
password: "password"
|
|
|
|
# 3. Define all your web sites below.
|
|
sites:
|
|
# Example for a standard Laravel project
|
|
- domain: myapp.local
|
|
project_root: /home/mar/projects/myapp # For Composer
|
|
document_root: /home/mar/projects/myapp/public # For Nginx
|
|
php_version: "8.2"
|
|
database: "myapp_db"
|
|
|
|
# Example for a legacy project or a non-Laravel PHP project
|
|
- domain: legacy-site.local
|
|
project_root: /home/mar/projects/legacy-site # For Composer
|
|
document_root: /home/mar/projects/legacy-site # Nginx serves from the root
|
|
php_version: "8.0"
|
|
database: "legacy_db"
|
|
|
|
# Example for a simple static HTML site (no PHP or DB)
|
|
- domain: portfolio.local
|
|
project_root: /home/mar/projects/portfolio # Directory for management
|
|
document_root: /home/mar/projects/portfolio # Nginx serves from the root
|
|
php_version: "8.2" # Still needed for Nginx config, but can be any installed version |