mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Docker Compose Database Setup (#379)
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
This commit is contained in:
@@ -65,6 +65,20 @@ export async function getDBSetupChoice(
|
||||
},
|
||||
]
|
||||
: []),
|
||||
{
|
||||
value: "docker" as const,
|
||||
label: "Docker",
|
||||
hint: "Run locally with docker compose",
|
||||
},
|
||||
{ value: "none" as const, label: "None", hint: "Manual setup" },
|
||||
];
|
||||
} else if (databaseType === "mysql") {
|
||||
options = [
|
||||
{
|
||||
value: "docker" as const,
|
||||
label: "Docker",
|
||||
hint: "Run locally with docker compose",
|
||||
},
|
||||
{ value: "none" as const, label: "None", hint: "Manual setup" },
|
||||
];
|
||||
} else if (databaseType === "mongodb") {
|
||||
@@ -74,6 +88,11 @@ export async function getDBSetupChoice(
|
||||
label: "MongoDB Atlas",
|
||||
hint: "The most effective way to deploy MongoDB",
|
||||
},
|
||||
{
|
||||
value: "docker" as const,
|
||||
label: "Docker",
|
||||
hint: "Run locally with docker compose",
|
||||
},
|
||||
{ value: "none" as const, label: "None", hint: "Manual setup" },
|
||||
];
|
||||
} else {
|
||||
|
||||
@@ -44,7 +44,7 @@ export async function getDeploymentChoice(
|
||||
{
|
||||
value: "workers",
|
||||
label: "Cloudflare Workers",
|
||||
hint: "Deploy to Cloudflare Workers using Wrangler",
|
||||
hint: "Deploy to Cloudflare Workers using Wrangler",
|
||||
},
|
||||
{ value: "none", label: "None", hint: "Manual setup" },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user