Modify the template to let the user choose whether they want the database container or not #20282
CarlSargunar
started this conversation in
Features and ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Follow on from : #17262
The current template always creates both the Dockerfile for the site and the database, but actually it's not useful to always create the database. I propose changing the template to separate the website and database container. Happy to do it myself
Proposal is that I add the following which will generate the Umbraco database container for SQL server.
dotnet new umbraco-database -P "MyDbContainer"
This will give users the choice if they want to use a DB container, or a DB service (when hosted on Azure) or SQLite. I also propose that the docker compose template is modifies so that we include a volumn for SQLite, to allow users who want to use SQLite to generate a DB
Beta Was this translation helpful? Give feedback.
All reactions