To run the code in local with Docker-Compose, please follow these steps:
Docker Docker-Compose
- Clone the repository to your local machine.
- Run
docker-compose build
- Run the following command to start the containers in detached mode. This will start the application and its
dependencies, such as databases or message queues:
docker-compose up -d
- You can verify that the application is running by navigating to http://localhost:5601/app/home in your web browser.
- If you want to stop the running containers, run the following command:
docker-compose stop
- If you want to remove the existing Docker-Compose and all its associated resources, run the following command:
docker-compose down -v