Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

mikovp/laravel-nginx-ssl-docker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 8/Php 7.4-fpm/Node/MariaDB/Nginx-Certbot in docker-compose.yml

Copy all files in your Laravel App directory

Production

#Copy .env
cp .env.example .env

#Start Docker 
docker-compose up -d

#Enter in container
docker-compose exec app bash

#Clear cache
php artisan optimize

#Generate app key
php artisan key:generate

#Install Node dependencies
npm install && npm run prod

#Nginx ssl for https Manual from https://www.github.com/staticfloat/docker-nginx-certbot

About

Laravel 8/PHP7.4-Fpm/Node/Nginx-certbot (for https)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published