A self-sufficient Docker container to run simple Symfony applications.
$ docker run -itP \
-v $PWD:/srv \
-e DB_NAME=somedbname \
-e INIT=bin/reload \
ubermuda/symfony
Configuration is done through environment variables that you can change with docker run' s -e switch:
DB_NAME, the database name. Defaults to symfony.INIT, path to a initialization script (eg: creating db tables, etc). Ignored if empty.Content type
Image
Digest
sha256:6af219f4a…
Size
124.6 MB
Last updated
almost 11 years ago
docker pull ubermuda/symfony