-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lando.yml
39 lines (39 loc) · 950 Bytes
/
.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
name: my-blog
recipe: symfony
config:
webroot: public
php: "8.2"
database: mariadb:10.6
composer_version: 2-latest
proxy:
adminer:
- adminer.my-blog.lndo.site
tooling:
console:
service: appserver
cmd: /app/bin/console
phpunit:
service: appserver
cmd: /app/vendor/bin/phpunit
xdebug-on:
service: appserver
description: Enable xdebug for apache.
cmd: "docker-php-ext-enable xdebug && /etc/init.d/apache2 reload"
user: root
xdebug-off:
service: appserver
description: Disable xdebug for apache.
cmd: "rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload"
user: root
services:
adminer:
type: compose
services:
image: dehy/adminer
command: /bin/s6-svscan /etc/services.d
portforward: true
appserver:
build:
- composer install
- ./bin/console doctrine:migrations:migrate
- ./bin/console assets:install