-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
38 lines (38 loc) · 1.14 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
name: dev-drupal9
recipe: drupal9
config:
database: mysql:5.7.38
services:
appserver:
webroot: drupal/web
type: php:8.0
# xdebug: debug
# config:
# php: scripts/lando-customizations/php.ini
run_as_root:
- ln -snf /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
- echo "Europe/Istanbul" > /etc/timezone
build_as_root:
- echo "updating apt" && apt update -y
- echo "installing upload progress" && pecl install uploadprogress 2>&1 >/dev/null
- docker-php-ext-enable uploadprogress 2>&1 >/dev/null
- echo "enabling apache modules" && a2enmod expires headers deflate rewrite 2>&1 >/dev/null
- echo "restarting apache" && service apache2 reload 2>&1 >/dev/null
# build:
# - composer self-update --1
# - composer global require hirak/prestissimo
mailhog:
type: mailhog
hogfrom:
- appserver
pma:
type: phpmyadmin
tooling:
drush:
service: appserver
cmd:
- "/app/drupal/vendor/drush/drush/drush --root=/app/drupal"
composer:
service: appserver
cmd:
- "php -d memory_limit=-1 /usr/local/bin/composer --working-dir=/app/drupal"