geerlingguy / geerlingguy/docker-examples

Add Symfony Example

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
81
Forks
39
PR merge metrics
No merged PRs in 30d

Description

[Symfony](https://symfony.com/) 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!).

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no target files, tests, or entry points. Start by reviewing the repository's existing Docker examples and determine how a Symfony hello-world app, Composer build step, and separate SQLite container should fit those conventions; done means a working example that builds and runs as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php, sqlite, symfony
Domain
backend, databases, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.