https://github.com/coolguy1990/laravel-docker
Docker Setup for laravel+nginx+elasticsearch+redis
https://github.com/coolguy1990/laravel-docker
docker elasticsearch laravel php71-docker redis
Last synced: 2 months ago
JSON representation
Docker Setup for laravel+nginx+elasticsearch+redis
- Host: GitHub
- URL: https://github.com/coolguy1990/laravel-docker
- Owner: coolguy1990
- License: mit
- Created: 2018-01-15T07:20:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T14:20:10.000Z (almost 8 years ago)
- Last Synced: 2025-06-23T04:41:15.801Z (12 months ago)
- Topics: docker, elasticsearch, laravel, php71-docker, redis
- Language: Shell
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# laravel-docker
Simple Docker setup with Laravel, MySQL, Nginx, Elasticsearch, PHP7.1, Redis
### Steps for Config
1. Copy ```.env.example``` to ```.env```
2. Copy ```docker-compose.yml.example``` to ```docker-compose.yml```
3. Copy ```php-worker/supervisord.conf.example``` to ```php-worker/supervisord.conf```
4. Copy ```workspace/crontab.example``` to ```workspace/crontab.example```
5. Edit these files as required
### Commands to run
1. Start: ```docker-compose up -d```
2. Stop: ```docker-compose stop```
3. Rebuild: ```docker-compose up -d --build``` this rebuild all containers. For specific container build use ```docker-compose up -d --build nginx``` etc
4. Remove: ```docker-compose rm``` this removes all
**All issues and PRs are hugely appreciated** :)