Nginx/Httpd Passenger NodeJs
Sandbox for development - container running Nginx or Httpd + Passenger + NodeJs
Official docker repository
Docker Hub: https://hub.docker.com/r/dockernodejs/nginx-passenger/
Supported tags
Based on Official PHP images Debian and all versions come with:
Required
The sandbox uses Docker, a container tool for setting up a rapid development environment. The project has only two prerequisites:
- Docker (1.12+)
- Docker-composer (1.10+)
Usage
Simple usage
Access to the container console easily:
docker run --rm -ti -v /your/project:/app dockernodejs/passenger:nginx-node-8 bash
Configuration of your Docker compose
Basic configuration
Create a file called docker-compose.yml in your project directory and paste the following:
version: "2"
services:
app:
image: "dockernodejs/passenger:nginx-node-8"
volumes:
- .:/app
- /app/public
ports:
- "8000:80"
$ docker-compose up
Enter http://localhost:8080/ in a browser to see the application running.
License
This project is released under the MIT License, you agree to license your code under the MIT license