bharney / JSStarterDocker

.Net Core 2.1 C# with React Starter Project that provides Identity Authentication and Authorization using JWT. Based on .NET Core JavaScriptServices Spa React + Redux using TypeScript. Additional support available for Docker and ARM Templating. Project uses Key Vault for secrets and EntityFrameworkCore to migrate Identity tables.
https://jsstarter.azurewebsites.net
17 stars 3 forks source link

Docker SQL Server Persistance #56

Open ghost opened 5 years ago

ghost commented 5 years ago

If I am experimenting with user sessions would it be possible to set up persistent storage for the local SQL Server container via named volumes?

bharney commented 5 years ago

This would be an excellent idea. Currently the setup for is to spin up a new sql server and db instance each deployment. Persistent storage would be an excellent addition. I've never setup something like that, so I am not sure where to begin. But I am sure there are resources online for how to accomplish that.