-
Notifications
You must be signed in to change notification settings - Fork 1
/
.lando.dist.yml
91 lines (91 loc) · 2.24 KB
/
.lando.dist.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
88
89
90
91
name: localgov
recipe: drupal9
config:
xdebug: false
webroot: web
php: '8.1'
proxy:
mailhog:
- mail.localgov.lndo.site
adminer:
- adminer.localgov.lndo.site
services:
appserver:
overrides:
environment:
DRUSH_OPTIONS_ROOT: '/app/web'
DRUSH_OPTIONS_URI: 'https://localgov.lndo.site'
SIMPLETEST_DB: 'mysql://database:database@database/database'
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", { "chromeOptions": { "w3c": false } }, "http://chromedriver:4444/wd/hub"]'
database:
creds:
user: database
password: database
database: database
mailhog:
type: mailhog
hogfrom:
- appserver
portforward: true
adminer:
type: compose
services:
image: dehy/adminer
command: '/bin/s6-svscan /etc/services.d'
portforward: true
node:
type: 'node:16'
globals:
gulp-cli: latest
overrides:
ports:
- '3050:3050'
chromedriver:
type: compose
services:
image: robcherry/docker-chromedriver:latest
environment:
CHROMEDRIVER_WHITELISTED_IPS: ""
CHROMEDRIVER_URL_BASE: "/wd/hub"
security_opt:
- seccomp:unconfined
expose:
- '4444'
command: ["/usr/local/bin/supervisord", "-c", "/etc/supervisord.conf"]
tooling:
deprecated:
service: appserver
cmd: 'bash -c "/app/bin/phpstan analyse -c /app/phpstan.neon /app/web/profiles/contrib/localgov/ /app/web/modules/contrib/localgov_*/ /app/web/themes/contrib/localgov_theme/"'
drush:
service: appserver
cmd: '/app/bin/drush'
phpcs:
service: appserver
cmd: '/app/bin/phpcs'
phix:
service: appserver
cmd: '/app/bin/phpcbf'
phpstan:
service: appserver
cmd: '/app/bin/phpstan'
phpunit:
service: appserver
cmd: '/app/bin/phpunit --testdox'
xdebug-on:
service: appserver
description: Enable xdebug for apache.
cmd: "docker-php-ext-enable xdebug && /etc/init.d/apache2 reload"
user: root
xdebug-off:
service: appserver
description: Disable xdebug for apache.
cmd: "rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload"
user: root
gulp:
service: node
node:
service: node
npm:
service: node
yarn:
service: node