{"repo":"StaffNowa/docker-symfony","free":true,"listed":false,"github":"https://github.com/StaffNowa/docker-symfony","clone":"git clone https://github.com/StaffNowa/docker-symfony.git","description":"Docker Symfony (PHP-FPM - NGINX - MySQL - MailHog - Redis - RabbitMQ)","language":"Go","stars":43,"topics":["docker-symfony","linux","php-fpm","nginx","mysql","docker","symfony-application","mailhog","redis","rabbitmq"],"license":"MIT","category":"databases-storage","readme_excerpt":"Docker for Symfony (PHP-FPM - NGINX - MySQL) Docker symfony gives you everything you need for developing Symfony application. This complete stack run with docker and docker-compose. Installation Install the latest Docker CE version If you are running on Linux: If you would like to use Docker as a non-root user, you should now consider adding your user to the \"docker\" group with something like: Install the latest Docker Compose If you are running on Linux: Configuration 1. Create a .env from the .env.dist file. Adapt it according to your symfony application 2. Build / run containers 3. Update your system host file (add symfony.local) Note: For OS X , please take a look here. 4. Prepare Symfony app 1. Get your logins to access MySQL server ./d4d passwd show 2. Update a) SF2, SF3: app/config/parameters.yml b) SF4, SF5, SF6: .env 3. Composer install & create database 5. Enjoy :-) ## Usage Just run ./d4d start , then: Symfony app: visit symfony.local Symfony dev mode: visit symfony.local/app dev.php Logs (files location): logs/nginx and logs/symfony ## How it works? Have a look at the compose.yaml file, here are the docker-compose built images: nginx : Nginx is one of the most popular web servers in the world and responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or reverse proxy. php : PHP is a popular general-purpose scripting language that is especially sui","default_branch":null,"files":null,"tree":[],"storefront":"/r/StaffNowa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/StaffNowa/docker-symfony/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}