Simple Docker setup with Laravel, MySQL, Nginx, Elasticsearch, PHP7.1, Redis
- Copy
.env.exampleto.env - Copy
docker-compose.yml.exampletodocker-compose.yml - Copy
php-worker/supervisord.conf.exampletophp-worker/supervisord.conf - Copy
workspace/crontab.exampletoworkspace/crontab.example - Edit these files as required
- Start:
docker-compose up -d - Stop:
docker-compose stop - Rebuild:
docker-compose up -d --buildthis rebuild all containers. For specific container build usedocker-compose up -d --build nginxetc - Remove:
docker-compose rmthis removes all
All issues and PRs are hugely appreciated :)