withDataBindMount
Method
interface MailPitContainerResource { // ... omitted for brevity withDataBindMount( source: string, isReadOnly?: boolean): MailPitContainerResource;}Signature
method
withDataBindMount builderConfigures a bind mount for the data directory of the MailPit container resource.
withDataBindMount( source: string, isReadOnly?: boolean): MailPitContainerResourceParameters
sourcestringThe source path on the host system to bind to the container.isReadOnly booleanoptional= FalseA value indicating whether the bind mount should be read-only. Default is false.Returns
MailPitContainerResource Applies to
This method applies to the following types: