Lenra Docs
Register on Lenra
  • Home
  • Getting started
    Open/Close
  • Guides
    Open/Close
  • Features
    Open/Close
  • References
    Open/Close
  • Contribute

    lenra.yml config file

    The Lenra's configuration file describes your Lenra app configurations, like API versions or how to build it.

    Here is an example using a Dofigen file:

    path: "."
    generator:
      dofigen: dofigen.yml
    

    Configuration

    The configuration is the main element of the file:

    FieldTypeDescription
    pathStringThe project path (default ".")
    generatorGeneratorThe generator configuration

    Generator

    The generator define your application is built. There are many configurators:

    Dofigen

    The Dofigen generator use a Dofigen configuration to generate the Docker image.

    The Dofigen configuration can be the path to a Dofigen file or it content directly.

    Docker

    The Docker generator use a Dockerfile to generate the Docker image.

    The Dockerfile can be the path to a file or it content directly.