In this example we are going to create a dockerised Symfony application and a Makefile based build script. We will use make command to make running docker and other Symfony related commands simpler.

Structure

.
├── docker
│   └── dev
│       ├── docker-compose.yml
│       ├── Makefile
│       ├── nginx
│       │   ├── app.conf
│       │   ├── app_ssl.crt
│       │   ├── app_ssl.key
│       │   ├── Dockerfile
│       │   └── nginx.conf
│       └── php
│           ├── Dockerfile
│           ├── php.ini
│           └── www.conf
│   
├── .env
└── Other Symfony files and folders

#docker #symfony #nginx

Creating A Dockerised Symfony Application and A Makefile Based Build Script
1.40 GEEK