Skip to content
This repository has been archived by the owner. It is now read-only.

Docker environment setup #193

Open
gabiudrescu opened this issue Jun 5, 2019 · 4 comments · May be fixed by #239
Open

Docker environment setup #193

gabiudrescu opened this issue Jun 5, 2019 · 4 comments · May be fixed by #239
Labels
Feature

Comments

@gabiudrescu
Copy link

@gabiudrescu gabiudrescu commented Jun 5, 2019

Describe the proposed solution
We should have a docker setup configured for a oneline setup of this project; eg: docker-compose up should bring the application with full configuration online.

@loic425
Copy link
Member

@loic425 loic425 commented Jun 5, 2019

For developments, the new Symfony binary is better than a docker setup now. But we can create a docker setup for production environment.

@loic425 loic425 added the Feature label Jun 5, 2019
@gabiudrescu
Copy link
Author

@gabiudrescu gabiudrescu commented Jun 5, 2019

afaik, Symfony binary is providing only PHP, not the entire stack required for a modern app: MySQL, Redis, queuing, nodejs for frontend etc.

and I remember Jedisjeux had a docker setup (https://github.com/Jedisjeux/Docker/tree/master). I guess it was included in the initial Monofony repo in the days, right?

anyway, I've put this issue here to make sure we don't forget about it - in an attempt to create a backlog of features and a place for debate.

@loic425
Copy link
Member

@loic425 loic425 commented Jun 7, 2019

@gabiudrescu You're right, it's cool to init a backlog. I just want to prevent adding to much features on this starter. Cause it takes so much time to remove all you don't need on a starter.
We don't need Redis or Elasticsearch or whatever else on every projects...
At Mobizel where we use Monofony to build almost every Symfony projects, @smildev uses a mysql docker instance for every projects with the same mysql version. Personally, I have one local mysql and prefer use it rather than a docker instance to keep it simpler.
What I mean is nowadays, Docker is not useful on every Symfony projects for development.

@lchrusciel @smildev What's your opinion?

@lchrusciel
Copy link
Contributor

@lchrusciel lchrusciel commented Jun 21, 2019

I would say that it is hard to decide what should be inside. But some links/docs about available docker images could be useful.

Maybe we should support simplified docker setup with PHP and mysql only?

@gabiudrescu gabiudrescu linked a pull request Jan 2, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants