Public | Automated Build

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

<img src="" width="240" border="0" style="display: block; max-width:100%;">

NGINX + PHP-FPM web stack for Docker.
For database connection you may read:

Pull from Docker Hub

docker pull tropicloud/np-stack


Build from GitHub

git clone
docker build -t tropicloud/np-stack np-stack


Run the Docker image

docker run -p 80:80 -p 443:443 -d tropicloud/np-stack 

Navigate to http://<docker-host-ip>/ to check the installation.

Example Configuration

Make sure to build from GitHub or to include your own config files.

docker run -p 80:80 -p 443:443 \
-v /app/html \
-v $(pwd)/conf/nginx/default.conf:/etc/nginx/default.conf \
-v $(pwd)/conf/nginx/nginx.conf:/etc/nginx/nginx.conf \
-v $(pwd)/conf/php/php-fpm.conf:/etc/php-fpm.d/www.conf \
-d tropicloud/np-stack
Docker Pull Command
Source Repository