- Laravel 6
- Laravel Passport 7.5
- Laravel Auth
- PHP >= 7.2.0
- BCMath PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Install PHP, PHP extensions, Composer, Git
- Clone the repository to a temporary folder
- Copy composer.json and composer.lock to the final location
- Go to that folder:
cd /final/location
- Execute:
composer install --no-dev --no-scripts
- Move the temporary folder's content to the final location
- Re-build the autoload file executing:
composer dump-autoload
- Configure .env file
- Create your DB tables executing:
php artisan migrate
- Give the right permissions to the files:
find /final/location -type f -exec chmod 644 {} \;
find /final/location -type d -exec chmod 755 {} \;
- Configure the web server (like Nginx) to route all the requests to public/index.php
0. Install Docker
1. Clone the repository
2. Build the image with the Dockerfile included
3. Upload the image to a repository
4. Use the image with Compose or Kubernetes
* Set all the environment variables Laravel uses
+ APP_VENDOR
+ APP_NAME
+ [...]
* Set Passport keys as environment vars
+ PASSPORT_PRIVATE_KEY
+ PASSPORT_PUBLIC_KEY
* Mount /var/www in a volume
* Mount /var/www/storage into a volume
Now, your container is listening on port 9000 (PHP_FPM)
You just must configure an NGINX container in the way Laravel documentation explains to use the app
If you discover security vulnerabilities, please send an e-mail to Alby Hernández [[email protected]].
All security vulnerabilities will be fixed as soon as we notice them.
This is privative software and it is NOT allowed to redistribute any copy neither partial not complete.