Created
February 21, 2020 07:45
-
-
Save jjpeleato/91bcf615e6c51f00ee1c8a05f3c086c7 to your computer and use it in GitHub Desktop.
Apache 2.* + PHP 7.2 + Maria DB + Node JS + Mailhog + PhpMyAdmin
This file contains hidden or 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
# See: https://lando.dev/ | |
name: lamp | |
# See: https://docs.devwithlando.io/tutorials/lamp.html | |
recipe: lamp | |
config: | |
php: "7.2" | |
webroot: public | |
database: mariadb | |
xdebug: true | |
config: | |
php: private/config/php.ini | |
# See: https://docs.devwithlando.io/config/proxy.html | |
proxy: | |
appserver: | |
- web.nitropc.lndo.site | |
node: | |
- node.nitropc.lndo.site | |
database: | |
- db.nitropc.lndo.site | |
mailhog: | |
- mail.nitropc.lndo.site | |
pma: | |
- pma.nitropc.lndo.site | |
# See: https://docs.devwithlando.io/config/services.html | |
services: | |
appserver: | |
run_as_root: | |
- "chown www-data: -R /app" | |
node: | |
type: node | |
globals: | |
npm: "latest" | |
yarn: "latest" | |
gulp-cli: "latest" | |
database: | |
portforward: 3308 | |
creds: | |
user: lamp | |
password: lamp | |
database: lamp | |
mailhog: | |
type: mailhog | |
hogfrom: | |
- appserver | |
portforward: 1026 | |
pma: | |
type: phpmyadmin | |
hosts: database | |
# See: https://docs.devwithlando.io/config/tooling.html | |
tooling: | |
node: | |
service: node | |
npm: | |
service: node | |
yarn: | |
service: node | |
gulp: | |
service: node | |
dep: | |
service: appserver | |
desription: run deployer commands | |
cmd: | |
- "vendor/bin/dep" | |
phpcs: | |
service: appserver | |
desription: "Analyze code against the WordPress coding standards with PHP_CodeSniffer" | |
cmd: | |
- "vendor/bin/phpcs" | |
phpcbf: | |
service: appserver | |
desription: "Fix coding standards warnings/errors automatically with PHP Code Beautifier" | |
cmd: | |
- "vendor/bin/phpcbf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment