-
Notifications
You must be signed in to change notification settings - Fork 143
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
feat: add Hosting.MailPit docs for the pr under CommunityToolkit #2633
base: main
Are you sure you want to change the base?
Conversation
@dotnet-policy-service agree |
var mailpit = builder.AddMailPit("mailpit") | ||
.WithDataBindMount( | ||
source: @"C:\MailPit\Data"); |
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.
var mailpit = builder.AddMailPit("mailpit") | |
.WithDataBindMount( | |
source: @"C:\MailPit\Data"); | |
var mailpit = builder.AddMailPit("mailpit") | |
.WithDataBindMount(source: @"C:\MailPit\Data"); |
Data bind mounts rely on the host machine's filesystem to persist the MailPit data across container restarts. The data bind mount is mounted at the `C:\MailPit\Data` on Windows (or `/MailPit/Data` on Unix) path on the host machine in the MailPit container. For more information on data bind mounts, see [Docker docs: Bind mounts](https://docs.docker.com/engine/storage/bind-mounts). | ||
|
||
## Client integration | ||
|
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.
There isn't a Community Toolkit client integration, however, if you're consuming the resource, it's good to know how to configure your clients. | |
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.
This article needs to be added to the TOC, under here: https://github.com/dotnet/docs-aspire/blob/main/docs/toc.yml#L289
This pull request adds supporting documentation for the MailPit hosting integration in the Community Toolkit tracked by CommunityToolkit/Aspire#476
Internal previews