Skip to content

satellacodes/laravelDockerProduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravelProd Banner

Laravel Docker Production

Production ready Laravel deployment using

  • Docker Compose
  • Nginx Reverse Proxy
  • MariaDB
  • Redis
  • PHP-FPM
  • SSL Let's Encrypt
  • phpMyAdmin
  • Multiple Applications

Note

This is my first experience of a laravel production project on my VPS, I deployed 3 apps, if you find any bugs, or errors, just ask me, I am open to help you as much as I can

Architecture

  • Internet
  • Cloudflare
  • Nginx
  • Laravel (PHP-FPM)
    • MariaDB
    • Redis

Documentation

Note

documentation is not finished yet, still in the creation stage

Step Description
01 Server Setup VPS preparation
02 Docker Installation Install Docker
03 Docker Network Network architecture
04 Nginx Reverse proxy
05 SSL HTTPS
06 Laravel Laravel deployment
07 Redis Cache & Queue
08 MariaDB Database
09 phpMyAdmin Database GUI
10 Deployment Deploy application
11 security security & validate
12 monitoring monitoring

Repository Structure

assets/
docs/
examples/
scripts/

preview vps , docker ps and ram usage

dockerRunning

  • dian is app1
  • dewi is app2
  • phpmyadmin is app3, if not use it don't docker compose up

vps


Contributing

Contributions are welcome!

If you have suggestions, improvements, or bug fixes:

  1. Fork repository
  2. Create new branch
  3. Commit changes
  4. Open Pull Request

Please make sure your code follows the project style before submitting.


Reporting Issues

Found a bug?

Please include:

  • Operating System
  • Docker Version
  • Laravel Version
  • Error Message
  • Docker Logs
  • Steps to Reproduce

Example

docker compose logs nginx

docker compose logs app

docker compose ps


Security

Please do not open public issues for security vulnerabilities.

Instead, contact the maintainer privately with:

  • vulnerability description
  • reproduction
  • affected version

License

MIT

About

Reference Your Laravel Production template

Topics

Resources

License

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors