Skip to content

Instantly share code, notes, and snippets.

@shihabbinali
Last active December 15, 2024 15:21
Show Gist options
  • Save shihabbinali/3ec0eeef7506cb2827bfcbec55580351 to your computer and use it in GitHub Desktop.
Save shihabbinali/3ec0eeef7506cb2827bfcbec55580351 to your computer and use it in GitHub Desktop.
lando laravel starter
name: project-name
recipe: laravel
excludes:
- vendor
- node_modules
config:
webroot: public
via: nginx
php: "8.3"
cache: redis
database: mysql
proxy:
appserver_nginx:
- project-name.lndo.site
services:
node:
type: node:20
build:
- npm install
- npm run build
appserver:
build:
- '[ ! -f ".env" ] && cp .env.example .env || echo ".env already present"'
- composer update
- php artisan key:generate
- php artisan migrate:fresh --seed
overrides:
depends_on:
- database
tooling:
npm:
service: node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment