-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
84 lines (79 loc) · 1.97 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
name: service-paths
recipe: drupal10
config:
php: '8.1'
via: nginx
webroot: web
database: mariadb:10.6
xdebug: off
config:
php: .lando/php.ini
database: .lando/database.cnf
tooling:
grumphp:
description: Runs grumphp commands
cmd:
- appserver: ./vendor/bin/grumphp
import:
description: Import the services data
cmd:
- appserver: /app/.lando/import.sh
npm:
description: Runs npm commands
service: node
psalm:
description: Run Psalm tasks
cmd:
- appserver: ./vendor/bin/psalm
syncdb:
description: Synchronizes local db with test env
cmd:
- appserver: /app/.lando/syncdb.sh
xdebug:
description: Loads Xdebug in the selected mode
cmd:
- appserver: /app/.lando/xdebug.sh
user: root
services:
appserver:
build:
- composer install
# Create the translations directory if it doesn't exist.
- mkdir -p ./web/sites/default/files/translations
overrides:
environment:
HASH_SALT: notsosecurehash
ENVIRONMENT_NAME: local
DB_NAME_DRUPAL: drupal10
DB_USER_DRUPAL: drupal10
DB_PASS_DRUPAL: drupal10
DB_HOST_DRUPAL: database
DRUSH_OPTIONS_URI: https://service-paths.lndo.site
MEMCACHED_HOST: memcached
# Support debugging with XDEBUG 3.
XDEBUG_MODE:
# Support debugging Drush with XDEBUG 3.
PHP_IDE_CONFIG: "serverName=appserver"
mailhog:
type: mailhog
hogfrom:
- appserver
memcached:
type: memcached
portforward: true
node:
type: node:16
build:
- npm install
- cd ./web/themes/custom/service-paths-theme && npm install
- cd ./web/themes/custom/service-paths-theme && npm run build && npm run build-storybook
storybook:
type: 'php:8.1'
webroot: web/themes/custom/service-paths-theme/storybook-static
ssl: true
proxy:
mailhog:
- mail-service-paths.lndo.site
storybook:
- storybook.lndo.site
version: v3.21