Skip to content

This repository contains a Laravel boilerplate designed to work seamlessly with Docker for containerized environments and Jenkins for CI/CD pipelines.

Notifications You must be signed in to change notification settings

VirajMadhu/laravel-docker-jenkins-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Boilerplate with Docker and Jenkins

This repository contains a Laravel boilerplate designed to work seamlessly with Docker for containerized environments and Jenkins for CI/CD pipelines.

Features

  • Laravel 10.x: Latest version of Laravel.
  • Docker: Containerized environment for easy local development.
  • Jenkins: Pre-configured for CI/CD with sample pipeline script.
  • Nginx and MySQL: Dockerized setup includes Nginx as the web server and MySQL as the database.
  • Composer: Integrated with Docker for package management.
  • Node.js and NPM/Yarn: Front-end assets and dependencies handled in the Docker setup.
  • .env: Customizable environment variables for both local development and production.

Prerequisites

Before you begin, make sure you have the following installed:

  • Docker
  • Docker Compose
  • Jenkins (optional: if setting up CI/CD locally)
  • Node.js (optional: only if not using the Docker container for frontend)

Getting Started

  • Clone the repository
git clone https://github.com/VirajMadhu/laravel-docker-jenkins-boilerplate.git
cd laravel-docker-jenkins-boilerplate
  • run docker composer
docker compose up
  • Create laravel project
./bin/create-laravel-project.sh <project-name> <laravel-version>

About

This repository contains a Laravel boilerplate designed to work seamlessly with Docker for containerized environments and Jenkins for CI/CD pipelines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published