Config File
lokl uses a YAML configuration file, typically named lokl.yaml, to define your development environment.
Basic Structure
Section titled “Basic Structure”name: my-projectversion: "1"
proxy: domain: myproject.dev
env: NODE_ENV: development
services: service-name: command: ... port: ...Top-level Fields
Section titled “Top-level Fields”Required. Project name used for identification and DNS markers.
name: my-awesome-projectversion
Section titled “version”Config file version. Currently "1".
version: "1"Proxy configuration for HTTPS routing.
proxy: domain: myproject.devGlobal environment variables inherited by all services.
env: NODE_ENV: development DEBUG: "true"services
Section titled “services”Map of service definitions. See Services for details.