Yikemlone / OurHome

A bill management system for roommates
0 stars 0 forks source link

docker-compose issue #46

Open Yikemlone opened 3 days ago

Yikemlone commented 3 days ago

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.

Yikemlone commented 3 days 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

Yikemlone commented 3 days ago

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

Yikemlone commented 3 days ago

To refactor the file structure, I removed it from the project, then added it back after moving the files.