Skip to content

Instantly share code, notes, and snippets.

@daggerhart
Last active March 17, 2020 22:18
Show Gist options
  • Save daggerhart/a6c216c1d04d4c8ec187cb46395f035a to your computer and use it in GitHub Desktop.
Save daggerhart/a6c216c1d04d4c8ec187cb46395f035a to your computer and use it in GitHub Desktop.
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