This project is a web application built with Nest.js, TypeORM, PostgreSQL, and Docker.
-
Update Database Host:
- Change
POSTGRES_HOST
in your.env
file tolocalhost
.
- Change
-
Build and Start Services:
docker-compose up --build
-
Run migrations:
npm run migrate
-
Update Database Host:
- Change
POSTGRES_HOST
in your.env
file toprod_db
.
- Change
-
Build and Start Services:
docker-compose -f docker-compose.prod.yml up --build