Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit 8b7b3d7

Browse files
committed
Adding Lando configuration for a default dev environment.
1 parent 38eed7a commit 8b7b3d7

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

.env.example

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=true
55
APP_LOG_LEVEL=debug
6-
APP_URL=http://localhost/
6+
APP_URL=http://opinions.lndo.site/
77

88
DB_CONNECTION=mysql
99
DB_HOST=database
1010
DB_PORT=3306
11-
DB_DATABASE=homestead
12-
DB_USERNAME=homestead
13-
DB_PASSWORD=secret
11+
DB_DATABASE=oa
12+
DB_USERNAME=opinions
13+
DB_PASSWORD=assemble
1414

1515
BROADCAST_DRIVER=log
1616
CACHE_DRIVER=file

.lando.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: opinions-assemble
2+
proxy:
3+
nginx:
4+
- opinions.lndo.site
5+
services:
6+
appserver:
7+
type: php:7.2
8+
webroot: public
9+
via: nginx
10+
ssl: false
11+
database:
12+
type: mariadb
13+
# portforward: 3310
14+
creds:
15+
user: opinions
16+
password: assemble
17+
database: oa
18+
# node:
19+
# type: node:6.10
20+
# globals:
21+
# grunt-cli: "latest"
22+
tooling:
23+
composer:
24+
service: appserver
25+
description: Run composer commands
26+
cmd:
27+
- composer
28+
- --ansi
29+
php:
30+
service: appserver
31+
mysql:
32+
service: database
33+
description: Drop into a MySQL shell
34+
user: root
35+
# node:
36+
# service: node
37+
# npm:
38+
# service: node
39+
# grunt:
40+
# service: node

0 commit comments

Comments
 (0)