-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lando.yml
46 lines (46 loc) · 1.15 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
name: streams
recipe: lamp
config:
webroot: .
php: 8.1
services:
mailservice:
type: mailhog
portforward: true
hogfrom:
- appserver
sqlservice:
type: phpmyadmin
cliserver:
type: php
via: cli
appserver:
xdebug: true
overrides:
environment:
PHP_IDE_CONFIG: "serverName=appserver"
XDEBUG_SESSION_START: lando
config:
php: .vscode/php.ini
build_as_root:
- apt-get update -y
- apt-get install cron -y
- cp -f /app/.lando/cron-helper.sh /usr/local/bin/docker-php-entrypoint
run_as_root:
- service cron start
run:
- crontab /app/.lando/cron.txt
proxy:
mailservice:
- mail.lndo.site
tooling:
xdebug-on:
service: appserver
description: Enable xdebug for Apache.
cmd: rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && docker-php-ext-enable xdebug && /etc/init.d/apache2 reload && echo "Xdebug enabled"
user: root
xdebug-off:
service: appserver
description: Disable xdebug for Apache.
cmd: rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload && echo "Xdebug disabled"
user: root