Open Yikemlone opened 1 month ago
https://github.com/docker/awesome-compose/tree/master/aspnet-mssql
This could be because of the app structure, so we can try to replicate the structure
There seems to be an issue with the docker container of the main app connecting to the sql server app.
Here is a link to the tutorial I was looking at: https://medium.com/@aliyildizoz/docker-compose-for-asp-net-core-mssql-4ee8317d3b87
To refactor the file structure, I removed it from the project, then added it back after moving the files.
This issue causes the project 'dotnet restore' to not know which is the main project. I don't know how to configure this differently as VS decides where to put that docker compose file. I may need to put all the projects inside one folder.
The reason we would like docker compose is to run the docker database container then run migrations on it so it is prepared for testing.