Docker multicontainer
Docker multi-container with Symfony3 + MySQL + PHP7-FPM + Nginx
Starting
In order to make it work you need Docker & Docker Compose
Once you've your docker environment ready, clone this repo
git clone https://github.com/0x13a/docker-symfony && cd docker-symfony
Configuration
Well, now you have to configure your MySQL password and Symfony folder, here in the .env
conf file
MYSQL_ROOT_PASSWORD=root
SYMFONY_APP_VOLUME=./local-symfony-folder
Usage
Build and run your docker multicontainer
docker-compose up -d
Now your Symfony app is running at http://localhost
Learn more at https://docs.docker.com/compose/