-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.lando.yml
49 lines (49 loc) · 1.17 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
name: dropai-starter
recipe: drupal10
config:
webroot: web
conf:
php: php.ini
tooling:
drush:
service: appserver
env:
DRUSH_OPTIONS_URI: "https://dropai-starter.lndo.site"
python:
service: python
pip:
service: python
flask:
service: python
description: Start the Python Flask app for local Python access in Drupal
cmd: "python web/modules/contrib/dropai/modules/dropai_python/python/app.py"
xdebug-on:
service: appserver
description: Enable xdebug for nginx.
cmd: docker-php-ext-enable xdebug && pkill -o -USR2 php-fpm
user: root
xdebug-off:
service: appserver
description: Disable xdebug for nginx.
cmd: >-
rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && pkill -o -USR2
php-fpm
user: root
services:
appserver:
xdebug: true
config:
php: .vscode/php.ini
python:
type: python:3.9
build:
- 'pip install -r web/modules/contrib/dropai/modules/dropai_python/python/requirements.txt'
build_as_root:
- apt-get update
- apt-get install -y libgl1-mesa-glx libreoffice
scanner:
okCodes:
- 502
proxy:
python:
- python.lndo.site:5001