-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.yml
87 lines (82 loc) · 2.31 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: openpdd
recipe: wordpress
config:
via: nginx
ssl: true
database: mysql
config:
vhosts: storage/provision/nginx/default.conf
proxy:
appserver_nginx:
- openpdd.lndo.site
- openpdd.lndo.site/gemeente-nijmegen
- formulieren.buren.lndo.site
- formulieren.gemeentehw.lndo.site
- formulieren.ggdhollandsnoorden.lndo.site
- formulieren.waddinxveen.lndo.site
- mijn.sudwestfryslan.lndo.site
- mijn.hollandskroon.lndo.site
- mijn.barendrecht.lndo.site
- mijn.ridderkerk.lndo.site
- mijn.albrandswaard.lndo.site
- mijn.bar-organisatie.lndo.site
- mijnportaal.gouda.lndo.site
- mijn.defryskemarren.lndo.site
mailhog:
- mail.openpdd.lndo.site
pma:
- pma.openpdd.lndo.site
services:
pma:
type: phpmyadmin
ssl: true
scanner:
timeout: 1000
retry: 5
hosts:
- database
mailhog:
type: mailhog
portforward: true
hogfrom:
- appserver
appserver:
type: php:7.4
build:
- composer install
xdebug: true
webroot: htdocs
composer_version: 2
overrides:
volumes:
- ~/.lando/composer/auth.json:/var/www/.composer/auth.json
environment:
# For PHPStorm, which supports automatic configuration switching
# for multiple remote servers.
PHP_IDE_CONFIG: "serverName=appserver"
config:
php: storage/provision/php/php.ini
xdebug: 'develop,debug'
node:
type: node:18
globals:
webpack: 'latest'
npm: 'latest'
tooling:
phpunit:
service: appserver
deploy:
service: appserver
cmd: ./vendor/bin/dep deploy
npm:
service: node
xdebug-on:
service: appserver
description: Enable xdebug for nginx.
cmd: docker-php-ext-enable xdebug && pkill -o -USR2 php-fpm && echo "Enabling xdebug"
user: root
xdebug-off:
service: appserver
description: CUSTOM Disable xdebug for nginx.
cmd: rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && pkill -o -USR2 php-fpm && echo "Disabling xdebug"
user: root