Public | Automated Build

Last pushed: 2 years ago
Short Description
Automated build
Full Description

docker-symfony2

This is the base image preconfigured with Ubuntu, Nginx, PHP-FPM to use with Symfony2 framework. It's based on another Docker image izquierdogalan/docker-nginx-php5-fpm. Docker repository available here izquierdogalan/docker-symfony2/.

Modifications:

  • composer installed
  • security fix for nginx + php-fpm applied: cgi.fix_pathinfo=0
  • date.timezone set in php.ini as recommended by Symfony

Build

docker build -t "izquierdogalan/docker-symfony2" .

Run

docker run -t -i -p 8080:80 -v /path/to/symfony:/var/www/ "izquierdogalan/docker-symfony2" /bin/bash

Launch

http://localhost:8080/web/app_dev.php

Note, if you have used the boot2docker virtual machine, you'll need to get the IP of the virtual host instead of using localhost. You can do this by running the following command boot2docker ip.

Docker Pull Command
Owner
izquierdogalan
Source Repository

Comments (0)