This is a complete and hightly flexible stack for running Symfony 4 (latest version: Flex) into Docker containers using docker-compose tool.
- Flexible and easily configurable.
- (Almost) production-ready.
- Uses it's own makefile to manage the environment.
- Clone the repository into
docker
folder (or wherever you wish). - Make sure you have
make
installed on your host machine. - Copy
.env.dist
into.env
and configure to your liking. - Use
make start
to build & start the env.
nginx
: nginx:1.15-alpine custom NGINX image.php-fpm
: php:7.2-fpm-alpine custom image with additional extensions and Composer.redis
: redis:5.0-alpine official Redis image.elk
: willdurand/elk complete ELK stack.rabbitmq
: rabbitmq:3.7-management-alpine RabbitMQ image with admin UI.
You can access Nginx and your application logs in the following directories on your host machine:
logs/nginx
logs/app
In order to make things more readable, and maintainable, the documentation has been migrated to the repository Wiki. Where you will find all details about the installation process along the available instructions for the day-to-day work.
You are free to use the code in this repository under the terms of the 0-clause BSD license. LICENSE contains a copy of this license.
This docker setup is based on following works: