19 lines
676 B
Markdown
19 lines
676 B
Markdown
# Laravel Dockerized
|
|
|
|
This repo just includes the necessary files to quickly set up a laravel
|
|
app to be dockerized and released for self hosting. All you have to
|
|
do when you start a new app is start the repo from this template
|
|
and merge these files with your existing app.
|
|
|
|
## Setup
|
|
|
|
### Install octane
|
|
|
|
`composer require laravel/octane`
|
|
`php artisan octane:install`
|
|
|
|
Once you started your laravel project **and** initialized it as a git repo:
|
|
|
|
1. `git remote add origin git@gitgud.foo:thegrind/laravel-dockerized.git`
|
|
2. `git pull -u origin main`
|
|
3. Run `make setup` to install laravel octane with FrankenPHP since this is what the `laravel-base` image expects from your app. |