Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1016 Bytes

File metadata and controls

39 lines (26 loc) · 1016 Bytes

Docker-compose

Startup the development stack

Why?

For quickly brining up any dependencies the project has such as an SQL database and redis (if applicable)

How?

Ensure you are in the root directory of the project and issue the command:

docker-compose -f Stack/docker-compose.yml up -d --build

This will

- This will bring up the sql sever with a username and password set.
- Create an empty database.
- Apply migrations.

Startup the application

When opening the solution in Visual Studio ensure the configuration for docker-compose is selected

docker compose selected

This will automatically warmup a container for the application.

You can now debug and run the application using docker compose