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:
git remote add origin git@gitgud.foo:thegrind/laravel-dockerized.git
git pull -u origin main
- Run
make setup
to install laravel octane with FrankenPHP since this is what thelaravel-base
image expects from your app.
Description
Basics for a laravel app with all the docker stuff set up. Build action and Dockerfile extending our base laravel image
Languages
Makefile
91.7%
Dockerfile
8.3%