Skip to content

Conversation

@Barsol6
Copy link
Collaborator

@Barsol6 Barsol6 commented May 8, 2025

Removed SQLite and changed our database to PostgreSQL. PostgreSQL is runnning as docker image, so docker is required to run when starting blazor server. I experienced minor problem with docker cache during modification of database, so when making changes whole container should be deleted with its' volumes.


var portBindings = await TryGetPortBindings();

var response = await _dockerClient.Containers.CreateContainerAsync(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you are using that container for testing purposes, there is really nice library named TestContainers. It have a lot of logic which can help you with better managing this type of stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants