Skip to content

A Node.js development environment using Docker Compose.

Notifications You must be signed in to change notification settings

jasonjlock/node-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Development Environment

A Node.js development environment using Docker Compose.

Getting Started

Download and install Docker for Mac or Windows.

Clone this repository:

git clone https://github.com/jasonjlock/node-env.git

Change directories to the new repository:

cd node-env

How To Use

Start the Docker containers:

Running this step for the first time builds the container images. This process can take a while.

docker-compose up

this starts Nginx and Node.js containers. Nginx is a reverse proxy passing requests to the Node.js server.

What Next

While the containers are running, visit http://localhost in your browser.

Add dependencies, write some code, and run it:

docker exec -it nodeenv_app_1 node your_code.js

Stop the running containers:

docker-compose down

Helpful Resources

About

A Node.js development environment using Docker Compose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published