Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example lando
name: aawp
recipe: wordpress
config:
webroot: wordpress_root
php: '7.3'
xdebug: true
config:
php: .lando/php.ini
#database: .lando/mysql.cnf
#server: .lando/apache.conf
#vhosts: .lando/apache-vhosts.conf
services:
appserver:
build_as_root:
- a2enmod headers
pma:
type: phpmyadmin
hosts:
- database
mailhog:
type: mailhog:v1.0.0
portforward: true
hogfrom:
- appserver
- havepurpose
anothersite:
type: php:7.3
via: apache:2.4
ssl: true
webroot: micro/anothersite
xdebug: true
config:
php: .lando/php.ini
thirdsite:
type: php:7.3
via: apache:2.4
ssl: true
webroot: micro/thirdsite/public
xdebug: true
config:
php: .lando/php.ini
proxy:
appserver:
- aa2.local
- aawp.lndo.site
anothersite:
- anothersite.lndo.site
thirdsite:
- thirdsite.lndo.site
pma:
- aawp-db.lndo.site
mailhog:
- aawp-mail.lndo.site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment