forked from brandonkramer/lando-wordpress-environment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
50 lines (50 loc) · 1.16 KB
/
.lando.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Replace all project with project name
name: wp-project
recipe: wordpress
config:
php: '7.4'
composer_version: '2' # set to 1 | 1-latest | 2 | 2-latest https://docs.lando.dev/config/php.html#installing-composer
via: apache # Nginx or apache
webroot: .
database: mysql # 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 nginx.conf for nginx
# https://github.com/lando/lando/blob/master/plugins/lando-services/services/nginx/nginx.conf
server: config/nginx.conf
# Comment out if using apache
params: config/params
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
php:
service: appserver
proxy:
# Appserver_nginx or appserver for apache
appserver:
- wp-project.lndo.site
mailhog:
- mail.wp-project.lndo.site
pma:
- pma.wp-project.lndo.site