-
-
Save LaChouetteInformatique/71dbfbf97fd5e0e9962f259498da698e to your computer and use it in GitHub Desktop.
Lando config file for WordPress with BrowserSync, MailHog, PHPMyAdmin, NGINX and XDebug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace all {project} with project name | |
name: wp-{project} | |
recipe: wordpress | |
config: | |
php: '7.4' | |
via: nginx # Nginx or apache | |
webroot: . | |
database: mariadb # Mariadb or mysql | |
xdebug: true | |
config: | |
# https://github.com/lando/lando/blob/master/plugins/lando-services/services/php/php.ini | |
php: config/php.ini | |
# Config/httpd.conf for apache or config/nginx.conf for nginx | |
# https://github.com/lando/lando/blob/master/plugins/lando-services/services/nginx/nginx.conf.tpl | |
server: config/nginx.conf | |
services: | |
node: | |
type: node | |
globals: | |
gulp-cli: latest | |
mailhog: | |
type: mailhog | |
hogfrom: | |
- appserver | |
pma: | |
type: phpmyadmin | |
hosts: | |
- database | |
tooling: | |
npm: | |
service: node | |
node: | |
service: node | |
gulp: | |
service: node | |
yarn: | |
service: node | |
proxy: | |
# Appserver_nginx or appserver for apache | |
appserver_nginx: | |
- wp-{project}.lndo.site | |
mailhog: | |
- mail.wp-{project}.lndo.site | |
pma: | |
- pma.wp-{project}.lndo.site | |
# Add following options to your Browsersync script: | |
# "browserSyncOptions": { | |
# "proxy": "https://wp-{project}.lndo.site", | |
# "port": 80, | |
# "SSL": true, | |
# "open": false, | |
# "notify": false | |
# }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment