DEV Community

Symfony 4 Running on Docker Compose

Mert Simsek on August 21, 2018

I am developing an application to improve vocabulary. You will enter in this application the words you learned. Then, this application asks you ran...
Collapse
 
deadpoolzzz profile image
Anton Belykh

volumes:

  • ./php-fpm/config/php.ini in docker-compose.yml, but there is no config directory on the screenshot
Collapse
 
_mertsimsek profile image
Mert Simsek • Edited

Good point. Thank your for reply, i thought that i already have been changed that line.

Collapse
 
prinze77 profile image
prinze77

Thanks!

Please show us the same how to deploy on prod symfony docker app.

Collapse
 
_mertsimsek profile image
Mert Simsek

In fact, i prefer Google Cloud App Engine for production, if i need to run Symfony on Docker. Except that, i never have experience custom Docker for production.

Collapse
 
samayo profile image
samayo

Thanks, this looked like what I was looking for until I saw you are using docker-compose v2 ... why? I thought v3 came out a long time ago

Collapse
 
_mertsimsek profile image
Mert Simsek

In fact, this's a habit which i should change for me. From now on, i am gonna pay attention about that. Thank you for reply :)

Collapse
 
samayo profile image
samayo

Thanks. Let me know when you change it, pls.. I have been crawling the internet for the perfect setup I need, and yours is the one!! without the version part

Thread Thread
 
_mertsimsek profile image
Mert Simsek

I really appreciate that, thank you. I am going to inform you for that :)