demo/.lando.yml
2023-03-23 18:50:47 +01:00

33 lines
871 B
YAML

name: larabb
services:
appserver:
type: php:8.1
via: apache:2.4
ssl: true
webroot: ./public
xdebug: true
composer_version: 2-latest
config:
php: .lando/php.ini
build_as_root:
# Note that you will want to use the script for the major version of node you want to install
# See: https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
- curl -sL https://deb.nodesource.com/setup_18.x | bash -
- apt-get install -y nodejs
database:
portforward: 33061
type: mariadb:10.5.15
proxy:
appserver:
- larabb.lando
tooling:
setup:
description: Sets up the Contao instance
cmd:
- database: zcat .lando/database.sql.gz | mysql -u mariadb -pmariadb database
- appserver: composer install
node:
service: appserver
npm:
service: appserver