Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithConfigFile

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
func (FlociAwsContainerResource) WithConfigFile(hostPath string) FlociAwsContainerResource

Signature

methodWithConfigFilebuilder
Mounts a custom Quarkus application.yml configuration file into the Floci container. The file is mounted read-only at /deployments/config/application.yml, which Quarkus reads on startup and merges with built-in defaults.
WithConfigFile(hostPath string) FlociAwsContainerResource
hostPathstringThe host-side path to the application.yml file to mount.
FlociAwsContainerResource

A reference to the IResourceBuilder for further configuration.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: