Public Repository

Last pushed: 2 months ago
Short Description
Nginx Php-fpm 5.6 with supervisor
Full Description

How to use:

docker run -d -p 80:80 -v /myphpfolder:/var/www/html/public xmaop/php56nginx:0.5.0

How to use with Mysql:

1. Create Mysql container

docker run -d --name=mysql \
-e MYSQL_ROOT_PASSWORD=rootpassword \
-e MYSQL_DATABASE=my-dbname \
-e MYSQL_USER=app-user \
-e MYSQL_PASSWORD=app-pass \
mysql:5.7

2. Create Php Nginx container and linking to Mysql

docker run -d -p 80:80 -v /myphpfolder:/var/www/html/public \
--link=mysql:mysql xmaop/php56nginx:0.5.0 

xmaop twitter

Docker Pull Command
Owner
xmaop

Comments (0)