This Docker Compose file contains services of:
- Frontend
- Backend
- Admin
These services use for API Testing and development
To run the Docker Compose file, follow these steps:
-
Run the following command to start the containers defined in the Docker Compose file:
docker-compose up
This command will build and start the containers specified in the Compose file. You should see the output of each container in the terminal.
-
If you want to run the containers in the background, you can use the
-d
flag:docker-compose up -d
This will start the containers in detached mode, and you won't see the container output in the terminal.
-
To stop the containers, you can use the following command:
docker-compose down
This command will stop and remove the containers defined in the Compose file.
That's it! You have now successfully run the Docker Compose file and started the containers. Feel free to customize the Compose file according to your needs.