Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duckthom/laravel-docker
A basic docker-compose config for Laravel (and probably other things as well)
https://github.com/duckthom/laravel-docker
docker docker-compose laravel mysql nginx php-fpm
Last synced: 14 days ago
JSON representation
A basic docker-compose config for Laravel (and probably other things as well)
- Host: GitHub
- URL: https://github.com/duckthom/laravel-docker
- Owner: DuckThom
- License: mit
- Created: 2016-06-15T14:37:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-16T13:35:34.000Z (about 7 years ago)
- Last Synced: 2024-11-07T21:44:05.529Z (2 months ago)
- Topics: docker, docker-compose, laravel, mysql, nginx, php-fpm
- Language: Shell
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# laravel-docker
A basic docker-compose config for Laravel (and probably other things as well)## Components
- nginx
- php-fpm 7.1 with xdebug and blackfire
- mysql 5.7## Storage
Laravel installation: `app`
Mysql data: `mysql/data`
## Setup
- Set domain name in `docker-compose.yml`.
- Change PHP extensions in `php/Dockerfile` if necessary.### nginx-proxy
If you are using [nginx-proxy](https://github.com/jwilder/nginx-proxy), use the `0.1` tag make sure the external_name setting matches the name of the network used by the nginx-proxy container.
### Traefik
If you are using [traefik](https://traefik.io), check if the external network name is correct and change the labels of the webserver container if necessary.