Skip to content

Commit

Permalink
Add docker-php-ext-enable yaml and load the config php: .lando/.php.i…
Browse files Browse the repository at this point in the history
…ni in the appserver service #235
  • Loading branch information
Natshah committed May 23, 2024
1 parent 9e3d8d6 commit 4c803db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: varbase
recipe: drupal10
config:
webroot: docroot
php: '8.3'
php: '8.2'
drush: ^12
services:
appserver:
Expand All @@ -19,6 +19,7 @@ services:
- curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
- echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" > /etc/apt/sources.list.d/nodesource.list
- pecl install yaml
- docker-php-ext-enable yaml
- apt update -y
- apt-get install -y nodejs
- npm install --global yarn
Expand All @@ -45,6 +46,8 @@ services:
DRUPAL_NIGHTWATCH_IGNORE_DIRECTORIES: node_modules,vendor,.*,sites/*/files,sites/*/private,sites/simpletest
# Drush
DRUSH_OPTIONS_URI: "https://varbase.lndo.site"
config:
php: .lando/.php.ini
chrome:
type: compose
app_mount: false
Expand Down
1 change: 1 addition & 0 deletions .lando/.php.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[PHP]
extension=yaml.so
max_execution_time=1200
memory_limit = -1

; Xdebug
xdebug.max_nesting_level = 256
Expand Down

0 comments on commit 4c803db

Please sign in to comment.