Public Repository

Last pushed: a year ago
Short Description
Centos 6.7 - Nginx - PHP-FPM - PHP5.4
Full Description

EXAMPLE:
$ sudo docker run -d --name nginx-php5.4 \
-p 80:80 \
-p 443:443 \
-p 3306:3306 \
-p 11211:11211 \
--net=host \
-v ~/dev/:/var/www/:rw \
-v ~/docker-mount/nginx/vhosts/:/etc/nginx/conf.d/:rw \
danielmeneses/nginx-php5.4

What's installed?

  • Centos 6.7
  • Nginx 1.10.0
  • PHP-FPM
  • PHP 5.4.45
  • Memcached server (+ php extension)
  • Redis server (+ php extension)
  • MySQL 5.5.49 (+ php extension)
  • Soap Client php extension
  • Mcrypt php extension
  • GD library php extension
  • Mbstring php extension
  • APC php extension
  • DOM php extension
  • xdebug v2.4.0 from pecl
  • and more ... not sure what :)

Notes:

  • All services and servers are started when container starts or restarts;
  • Nginx vhosts can be placed on the host machine. In the example above is mounted the folder "~/docker-mount/nginx/vhosts/" from host that holds all vhosts;
  • MySQL can be accessed from host on port 3306;
  • Xdebug runs on port 3000 inside the container;
  • Default nginx root is "/var/www/" has seen in the example;
  • This container was built for a specific need - that explaines PHP5.4 :)
Docker Pull Command
Owner
danielmeneses

Comments (0)