Simple Docker setup with Laravel, MySQL, Nginx, Elasticsearch, PHP7.1, Redis
- Copy
.env.example
to.env
- Copy
docker-compose.yml.example
todocker-compose.yml
- Copy
php-worker/supervisord.conf.example
tophp-worker/supervisord.conf
- Copy
workspace/crontab.example
toworkspace/crontab.example
- Edit these files as required
- Start:
docker-compose up -d
- Stop:
docker-compose stop
- Rebuild:
docker-compose up -d --build
this rebuild all containers. For specific container build usedocker-compose up -d --build nginx
etc - Remove:
docker-compose rm
this removes all
All issues and PRs are hugely appreciated :)