Sign inSign up

hellslicer/symfony2-full

By hellslicer

•Updated over 10 years ago

/!\ Not yet available /!\ Do not use.

Image
0

1.7K

hellslicer/symfony2-full repository overview

Docker containers to run Symfony2 applications.

⁠Services

  • Nginx
  • PHP 5.6
  • MySQL
  • RabbitMQ (not yet available)
  • ElasticSearch (not yet available)

⁠Usage

$ docker run --name data hellslicer/symfony2-full:data

$ docker run --volumes-from data --name mysql hellslicer/symfony2-full:mysql

$ docker run -v $(pwd):/srv --name php hellslicer/symfony2-full:php

$ docker run -d -p 80:80 \
    -v $(pwd):/srv \
    -link	php:php	\
    -link	mysql:mysql	\
    -e INIT=bin/reload \
    hellslicer/symfony2-full:latest

⁠Parameters

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.

Tag summary

Content type

Image

Digest

sha256:73a06a850…

Size

3.3 MB

Last updated

over 10 years ago

docker pull hellslicer/symfony2-full