-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add how-to guide on Connect to dependencies #807
Conversation
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Show resolved
Hide resolved
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
docs/content/guides/author-apps/containers/howto-connect-dependencies/snippets/app.bicep
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-environment-variables/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/connections.png
Outdated
Show resolved
Hide resolved
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
docs/content/guides/author-apps/containers/howto-connect-dependencies/snippets/app.bicep
Outdated
Show resolved
Hide resolved
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-807.westus2.azurestaticapps.net |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great! Couple small formatting suggestions
|
||
## Step 1: View the container definition | ||
|
||
Open the `app.bicep` and view the [container]({{< ref "guides/author-apps/containers" >}}): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open the `app.bicep` and view the [container]({{< ref "guides/author-apps/containers" >}}): | |
Create a file named `app.bicep` and add a [container]({{< ref "guides/author-apps/containers" >}}): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user would create a Radius environment as part of the prereqs where they select yes
to set up the app. So the app.bicep will have the demo container definition
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
docs/content/guides/author-apps/containers/howto-connect-dependencies/index.md
Outdated
Show resolved
Hide resolved
...ntent/guides/author-apps/containers/howto-connect-dependencies/snippets/app-with-redis.bicep
Show resolved
Hide resolved
...ntent/guides/author-apps/containers/howto-connect-dependencies/snippets/app-with-redis.bicep
Outdated
Show resolved
Hide resolved
Co-authored-by: Aaron Crawfis <[email protected]>
…dencies/index.md Co-authored-by: Aaron Crawfis <[email protected]>
Azure Static Web Apps: Your stage site is ready! Visit it here: https://calm-bush-0cc2a4f1e-807.westus2.3.azurestaticapps.net |
Thank you for helping make the Radius documentation better!
Please follow this checklist before submitting:
In addition, please fill out the following to help reviewers understand this pull request:
Description
This PR adds a how-to guide on connecting to dependencies. Will create another PR to create a separate how-to use containers in Radius that covers basics, setting env vars, volumes etc.
Auto-generated description
🤖 Generated by Copilot at 21d0583
Summary
📝🧩🔧
This pull request updates the container guides to use a mongo database dependency instead of manual environment variables. It renames and modifies the existing
app-mongodb.bicep
file, simplifies thehowto-environment-variables
guide, and adds a newhowto-connect-dependencies
guide with its own bicep snippets.Walkthrough
Issue reference
Fixes: #706