Skip to content

Simple Laravel Docker - MySQL - PHPAdmin - NGINX - PHP - Composer - Artisan

Notifications You must be signed in to change notification settings

kmsayem12/docker-laravel

Repository files navigation

Docker Laravel

This Is Laravel Docker Boilerplate, And have Multi Authentication

List of Images

  • nginx:alpine -
  • mysql -
  • php:7.4.21-fpm -
  • phpmyadmin/phpmyadmin -

Usage

get started, make sure you have Docker installed on your system.

Run command in the project directory for create docker containers.

`docker-compose up -d=true`

You can run for remove docker container:

`docker-compose down -v`

Their exposed ports detailed:

  • nginx - :8080
  • mysql - :3306
  • php - :9000
  • phpmyadmin - :8081

Visit

You can visit http://localhost:8080/ in the url

Container Access by shell command.

`docker-compose exec app`

Migrate And Seed

`docker-compose exec app php artisan migrate --seed`

About

Simple Laravel Docker - MySQL - PHPAdmin - NGINX - PHP - Composer - Artisan

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages