zakirt / docker_web_app

Dockerized Node app with Redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Web App

Example of using Docker with Node and Redis. Also contains example of debugging the docker app using VS Code debugger.

Prerequisites

Make sure you have Node and Docker installed on your machine.

Running app inside docker container

To run the app inside docker, enter the following command in the terminal:

docker-compose build
docker-compose up -d

Debugging the app inside docker container

docker-compose -f docker-compose.debug.yml build
docker-compose -f docker-compose.debug.yml up -d

Resources

About

Dockerized Node app with Redis


Languages

Language:JavaScript 79.8%Language:Dockerfile 11.3%Language:HTML 8.9%