Skip to content

Build a simple laravel application development environment with docker-compose.

Notifications You must be signed in to change notification settings

agungprsty/laravel-with-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel with Docker 🐳

docker+laravel

Introduction

Build a simple laravel application development environment with docker-compose.

Requirement

  • Docker ^19.*

Services

  • app used image:
  • web used image: nginx:stable-alpine
  • db used image: mysql:8.0
  • phpmyadmin used image: phpmyadmin:latest
  • redis used image: redis:latest (Optional)
  • rabbitmq used image: rabbitmq:latest (Optional)

How to use it?

  1. click Use this template
  2. git clone & change directory
  3. execute the following command
$ make create-project # Install the latest Laravel project
  1. set src/.env variable :
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=admin
DB_PASSWORD=admin
  1. Done! Let's to try to access the services in your browser

Join Our Project

Hi everyone!

We're excited to announce our new open-source project: Laravel + Docker Template. This template aims to make it easy to set up a Laravel application with full Docker support.

Why Join?

  • Easy Setup: Get your Laravel app running with just a few steps.
  • Organized Structure: Follow best practices to keep your code clean.
  • Community Support: Join a dedicated community to share knowledge and help each other.

We need contributions in code, documentation, testing, and ideas. Interested? Check out our repository: https://github.com/agungprsty/laravel-with-docker.

Thank you for your support!

Best, Prasetyo Agung


Releases

No releases published

Packages

No packages published