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
- Internet
- Cloudflare
- Nginx
- Laravel (PHP-FPM)
- MariaDB
- Redis
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 |
assets/
docs/
examples/
scripts/
- dian is app1
- dewi is app2
- phpmyadmin is app3, if not use it don't docker compose up
Contributions are welcome!
If you have suggestions, improvements, or bug fixes:
- Fork repository
- Create new branch
- Commit changes
- Open Pull Request
Please make sure your code follows the project style before submitting.
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
Please do not open public issues for security vulnerabilities.
Instead, contact the maintainer privately with:
- vulnerability description
- reproduction
- affected version
MIT


