The propose for this repository is to store a example on how to setup NestJs Microservices with RabbitMQ on Docker and VSCode debug options to docker containers.
This project use multiple build Dockerfiles and Docker Compose for development and production build.
The docker compose only loads a file called .env
to fill up the variables on .yml
file. So you have to make sure that only one file is labeled as .env
on the root directory.
This is the default configuration on this repository.
Change the production.env
file to .env
, than run:
$ docker-compose build
$ docker-compose up
Change the development.env
file to .env
, than run:
$ docker-compose -f development.compose.yml build
$ docker-compose -f development.compose.yml up