DEV Community

Discussion on: Symfony 5 development with Docker

Collapse
 
danseely profile image
Dan Seely

Great writeup! This is going to help me out a ton.

After reading through the article and looking at your example repo, I think the directory structure at the top of this article would look more like this (i.e. dedicated docker and src directories):

Project
│
├── docker
├──── docker-compose.yml
│
├──── database/
│   ├──── Dockerfile
│   └──── data/
│
└──── php-fpm/
│   └──── Dockerfile
│
├──── nginx/
│   ├──── Dockerfile
│   └──── nginx.conf
│
└──── logs/
│   └──── nginx/
├── src
├──── <Symfony app>
Enter fullscreen mode Exit fullscreen mode