EmadMohDev / laravel_docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker

Docker

Description

  • this demo help to create laravel app by use docker
  • also here we install mysql and phpmyadmin by docker images

to start run this command :

    docker compose up

Steps that will installed through docker compose file :

1-we will install php8.0.2 and install composer and make expose at port 8000

2-we will create mysql that will expose on port 33060 and here we create database : admin

3-we will create phpmyadmin that depend on mysql we create on step2 that will expose on port 9090 http://localhost:9090/ and you can login with :

serve name : admin_db userName : root password : root

list posts

4-then you will find that laravel app will serve at : http://localhost:8000/

list posts

About


Languages

Language:VBA 77.8%Language:PHP 17.8%Language:Blade 3.9%Language:Shell 0.2%Language:PLSQL 0.2%Language:JavaScript 0.1%Language:Dockerfile 0.1%