Skip to content

Commit 1e440e1

Browse files
committed
Update lando config
1 parent 0282706 commit 1e440e1

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
!.gitignore
44
!.htaccess
55
!.gitkeep
6+
!.lando.yml
67
.php_cs.cache
78
/.env
89
/composer.phar
@@ -113,3 +114,6 @@
113114
!/themes/blank-big.png
114115

115116
/translations
117+
118+
!/.lando
119+
!/.lando/*

.lando.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: mautic
2+
recipe: lamp
3+
config:
4+
webroot: .
5+
php: '7.3'
6+
database: mysql:5.7
7+
8+
tooling:
9+
mt:
10+
service: appserver
11+
description: Run Mautic commands
12+
cmd: bin/console
13+
14+
proxy:
15+
mailhog:
16+
- mail.mautic.lndo.site
17+
18+
services:
19+
appserver:
20+
type: php
21+
build_as_root:
22+
- docker-php-ext-install sockets
23+
build:
24+
- composer install
25+
run:
26+
- mysql -umautic -pmautic -hdatabase mautic < db_dump/init.sql
27+
xdebug: true
28+
config:
29+
php: .lando/php/php.ini
30+
database:
31+
type: mysql:5.7
32+
portforward: true
33+
creds:
34+
user: mautic
35+
password: mautic
36+
database: mautic
37+
mailhog:
38+
type: mailhog
39+
portforward: true

0 commit comments

Comments
 (0)