Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Symfony Example #6

Open
geerlingguy opened this issue Sep 25, 2016 · 0 comments
Open

Add Symfony Example #6

geerlingguy opened this issue Sep 25, 2016 · 0 comments

Comments

@geerlingguy
Copy link
Owner

Symfony is a PHP framework for web projects.

I'd like to add an example that builds a generic 'hello-world' Symfony app and connects to SQLite in a separate container.

One interesting aspect (and one about which I wrestle with in the 'this-isn't-something-for-prod-therefore-why-is-it-done-in-acontainer' way) is the idea of doing Composer work inside Docker.

IMO, it would be better to do all the app build process in a separate pipeline, then run the app in Docker containers. Technically the build process could be managed in some Docker containers... but you should always run your app in the exact same way as Production. And Production should not have Composer, nor should it be involved in your build process (especially since that saps up resources!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant