docker run -d --name nestjs -p 5436:5432 -e POSTGRES_PASSWORD=postgres -e PGDATA=/var/lib/postgresql/data/pgdata -v <YOUR_LOCAL_PATH>:/var/lib/postgresql/data postgres:15.4
YOUR_LOCAL_PATH
==> please replace this line to your local path where you want to mount postgres data
docker-compose -f elastic-compose up -d
yarn
# development
$ yarn run dev
# development
$ yarn run build
# development
$ yarn run start:prod
# Server is running at
http://localhost:8080/
# Kibana
http://localhost:5601/
docker-compose up -d
docker-compose down
Nest is MIT licensed.