@lando/lemp
Version:
A Lando plugin that provides a tight integration with lemp.
18 lines (15 loc) • 482 B
JavaScript
;
const path = require('path');
const landoPhpPath = path.join(__dirname, '../node_modules/@lando/php');
const LandoPhp = require(`${landoPhpPath}/builders/php.js`);
// Builder
module.exports = {
name: 'lemp-php',
parent: '_appserver',
builder: parent => class LempPhp extends LandoPhp.builder(parent, LandoPhp.config) {
constructor(id, options = {}, factory) {
options.nginxServiceType = 'lemp-nginx';
super(id, options, factory);
}
},
};