Skip to content

Centos7 server with NGINX, PHP, NodeJS, Redis, MySQL, NPM, Composer, Grunt, Wkhtmltopdf & Gearman.

Notifications You must be signed in to change notification settings

IncrementaCRM/docker-centos7-npnrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Centos7 server with NGINX, PHP, NodeJS, Redis & MySQL

This docker container has been build with Centos7, NGINX 1.x, PHP 7.1, NodeJS 6.9.3, NPM 3.x, Redis and MySQL 5.7. Additionally I loaded Composer 1.x, Grunt 1.x, Wkhtmltopdf and Gearman daemon, which I need for most of my apps.

There is two versions of this docker that I called Server and Pipeline.

Server image

The goal of this one is to be an executable fully loaded with the services. These will be managed with PM2, which will be the main process keeping alive the image.

docker pull linnk/centos7-npnrm

NOTE: npnrm (node, php, nginx, redis, mysql)

Pipeline image

This one is going to be a lite version (kind of) of the server image. The objective is to be used in bitbucket pipelines for coding style checking and testing purposes, so this one will have only the necesary to run my tests and style checkers.

docker pull linnk/centos7-np-pipeline

NOTE: np (node, php)

Bulding image

Instructions to build yourself the image:

docker build -t docker-centos7-npnrm .
docker run --name centos7-npnrm -e MYSQL_ROOT_PASSWORD=root -d centos7-npnrm

Executing bash in the server image:

docker exec -i -t centos7-npnrm /bin/bash

Stopping and clearing:

docker stop centos7-npnrm
docker rm centos7-npnrm

Docker containers are fun. :)

About

Centos7 server with NGINX, PHP, NodeJS, Redis, MySQL, NPM, Composer, Grunt, Wkhtmltopdf & Gearman.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages