atomjoy / docker-laravel-nginx

Running php-fpm and nginx processes in the same container with Laravel (Docker).

Home Page:https://github.com/atomjoy/docker-laravel-nginx

Repository from Github https://github.comatomjoy/docker-laravel-nginxRepository from Github https://github.comatomjoy/docker-laravel-nginx

Nginx and Php-fpm with Laravel on Docker

Running php-fpm and nginx processes in the same container with Laravel (mysql, mariadb, sqlite).

Config Mysql in files

.env
webapp/.env

Build

# Build up
docker compose up --build -d

# Show
docker compose ps

# Interactive container terminal
docker exec -it app_host bash
docker exec -it mysql_host bash

Laravel project directory

# Remove webapp dir and create new Laravel app
composer create-project laravel/laravel webapp

# Or copy your Laravel project files to
webapp

About

Running php-fpm and nginx processes in the same container with Laravel (Docker).

https://github.com/atomjoy/docker-laravel-nginx


Languages

Language:Dockerfile 70.3%Language:PHP 18.4%Language:Shell 10.2%Language:HTML 1.1%