https://github.com/joelshepherd/laravel-docker-template
A production-ready docker template for Laravel applications.
https://github.com/joelshepherd/laravel-docker-template
docker laravel php production-ready
Last synced: about 1 year ago
JSON representation
A production-ready docker template for Laravel applications.
- Host: GitHub
- URL: https://github.com/joelshepherd/laravel-docker-template
- Owner: joelshepherd
- License: mit
- Created: 2017-08-09T08:49:07.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T04:39:56.000Z (over 8 years ago)
- Last Synced: 2025-04-01T14:45:54.922Z (about 1 year ago)
- Topics: docker, laravel, php, production-ready
- Size: 25.4 KB
- Stars: 33
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Docker Template
A multi-stage, production-ready docker template for Laravel applications.
Plays well with continuous integration pipelines.
Used to power the Laravel API cluster behind [https://question.cafe](https://question.cafe).
## Features
- Production-ready
- Optimised for build time & size
- OPCache optimised for immutable environment
- phpredis for blazing-fast Redis (be sure to change client to `phpredis` in your `config/database.php` file)
- Frontend webpack asset compiling
- Backend composer requirements
- Ready to ship to a production cluster
## Requirements
- Docker version `>=17.05` (for multi-stage builds)
## How to use
1. Copy the `.docker` folder and `.dockerignore` into your project
2. Edit the configuration files as necessary (php extensions, different npm build command etc.)
3. Run `docker build -f .docker/build/Dockerfile .` and ship the image!