This repository contains a Node.js application that uses PostgreSQL and Redis, and is Dockerized for easy deployment.
Follow these steps to run the Node.js application with PostgreSQL and Redis in Docker:
-
Clone this repository:
git clone https://github.com/GrigHakobyan/nodejs-pg-redis.git app
-
Navigate to the repository:
cd app -
make a
.envfile and set the values -
build docker images & run containers
docker-compose up --build
-
view running containers
docker ps
docker-compose down