This project implements containerized applications of PERN stack
You must have following software installed in your System:
docker
-
Clone the repo:
git clone https://github.com/Oshchenkov/pern-dockerized-stack.git
-
Open folder iv Visual Studio Code and run devcontainer("Dev Containers" extension) :
cd pern-dockerized-stack && code .
-
Creating .env from default example
cp .env.example .env
-
Build development containers
make build
or
docker compose -f docker-compose.yaml -f docker-compose.dev.yaml build
-
Start containers
make up
or
docker compose -f docker-compose.yaml -f docker-compose.dev.yaml up -d
Frontend will be served at localhost:3000 (by default from .env variables)
-
Next (client)
localhost:3000
-
Express (api)
localhost:4000
-
localhost:5050
-
DB (port)
localhost:5432
Distributed under the MIT License. See LICENSE.md for more information.