Skip to content

mgoerlich-dev/docker-symfony2-nginx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-symfony2

Docker for symfony2 application.

Based on Ubuntu 14.04.

How to use (pre-build image)

You must have docker installed.

docker pull mtg42/symfony2-nginx

Then

docker run -v /home/user/symfony2:/var/www -p 8080:80 -d mtg42/symfony2-nginx

Docker is accessible on http://localhost:8080/app.php

Build your own image

git clone https://github.com/mtg42/symfony2-nginx.git
docker build docker-symfony2
docker run -v /home/user/symfony2:/var/www -p 8080:80 -p 2222:22 -d mtg42/symfony2-nginx

Package included

  • htop
  • curl
  • vim
  • nginx
  • php5-fpm
  • php5-cli
  • php5-intl

Exposed port

  • 80 : nginx

Exposed volume

  • /var/www
  • /var/log/nginx

About

Docker for symfony2 application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%