Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Muntligt Development Environment

Based on Ubuntu 14.04.

Install docker

http://docs.docker.com/installation/

Or via homebrew

# Allow installation of binary programs
brew install caskroom/cask/brew-cask

# Install virtualbox
brew cask install virtualbox

# Install docker
brew install docker
brew install boot2docker

# Start docker daemon
boot2docker init
boot2docker start
docker pull muntligt/symfony2

Then

docker run -v $PWD:/var/www -P -d muntligt/symfony2

Docker is accessible on http://localhost:8080/

Build

git clone https://github.com/muntligt/docker.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
  • mysql-server
  • nginx
  • php5-fpm
  • php5-cli
  • php5-intl

Exposed port

  • 3306 : mysql
  • 80 : nginx

Exposed volume

  • /var/log/mysql
  • /var/www
  • /var/log/nginx
Docker Pull Command
Owner
muntligt
Source Repository