# CommunityToolkit.Aspire.Hosting.Floci

- Module: `CommunityToolkit.Aspire.Hosting.Floci`
- Version: `13.5.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1)
- Functions: `23`
- Types: `4`

## Types

- [FlociAwsContainerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/flociawscontainerresource.md) -- `handle` - 10 members -- Resource for the Floci AWS emulator container.
- [FlociAzureContainerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/flociazurecontainerresource.md) -- `handle` - 9 members -- Resource for the Floci Azure emulator container.
- [FlociGcpContainerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/flocigcpcontainerresource.md) -- `handle` - 9 members -- Resource for the Floci GCP emulator container.
- [FlociUIContainerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/flociuicontainerresource.md) -- `handle` - 5 members -- Resource for the Floci UI web console container. A single UI instance can attach to any combination of Floci cloud resources (AWS, Azure, GCP) -- one created it via `WithFlociUI` (its `Parent`), and any others are attached via `WithReference`.

## Functions

- [addFlociAws](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/addflociaws.md) -- `method` -- Adds a Floci AWS emulator container resource
- [addFlociAzure](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/addflociazure.md) -- `method` -- Adds a Floci Azure emulator container resource
- [addFlociGcp](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/addflocigcp.md) -- `method` -- Adds a Floci GCP emulator container resource
- [withAwsReference](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withawsreference.md) -- `method` -- Attaches an additional Floci AWS resource to a Floci UI console
- [withAzureReference](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withazurereference.md) -- `method` -- Attaches an additional Floci Azure resource to a Floci UI console
- [withConfigFile](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withconfigfile.md) -- `method` -- 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.
- [withDataBindMount](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdatabindmount.md) -- `method` -- Configures a bind mount for persistent Floci state.
- [withDataBindMount](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdatabindmount.md) -- `method` -- Configures a bind mount for persistent Floci Azure state.
- [withDataBindMount](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdatabindmount.md) -- `method` -- Configures a bind mount for persistent Floci GCP state.
- [withDataVolume](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdatavolume.md) -- `method` -- Configures a named data volume for persistent Floci state.
- [withDataVolume](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdatavolume.md) -- `method` -- Configures a named data volume for persistent Floci Azure state.
- [withDataVolume](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdatavolume.md) -- `method` -- Configures a named data volume for persistent Floci GCP state.
- [withDockerSocket](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdockersocket.md) -- `method` -- Mounts the Docker socket into the Floci container so that Lambda and other container-backed AWS services can launch sibling containers. Also sets `FLOCI_DOCKER_DOCKER_HOST` to `unix:///var/run/docker.sock` (the container-side path where the socket is always mounted) so Floci can connect to it.
- [withDockerSocket](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdockersocket.md) -- `method` -- Mounts the Docker socket into the Floci Azure container so that Azure Functions and other container-backed services can launch sibling containers. Also sets `FLOCI_AZ_DOCKER_DOCKER_HOST` to `unix:///var/run/docker.sock` (the container-side path where the socket is always mounted) so Floci can connect to it.
- [withDockerSocket](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withdockersocket.md) -- `method` -- Mounts the Docker socket into the Floci GCP container so that Cloud Run, Cloud SQL, and other container-backed services can launch sibling containers. Also sets `FLOCI_GCP_DOCKER_DOCKER_HOST` to `unix:///var/run/docker.sock` (the container-side path where the socket is always mounted) so Floci can connect to it.
- [withFlociAwsReference](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withflociawsreference.md) -- `method` -- Adds a reference to a Floci AWS emulator resource
- [withFlociAzureReference](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withflociazurereference.md) -- `method` -- Adds a reference to a Floci Azure emulator resource
- [withFlociGcpReference](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withflocigcpreference.md) -- `method` -- Adds a reference to a Floci GCP emulator resource
- [withFlociUI](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withflociui.md) -- `method` -- Adds a Floci UI web console container for the Floci Azure resource
- [withFlociUI](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withflociui.md) -- `method` -- Adds a Floci UI web console container for the Floci resource
- [withFlociUI](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withflociui.md) -- `method` -- Adds a Floci UI web console container for the Floci GCP resource
- [withGcpReference](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withgcpreference.md) -- `method` -- Attaches an additional Floci GCP resource to a Floci UI console
- [withHostPort](/reference/api/typescript/communitytoolkit.aspire.hosting.floci/withhostport.md) -- `method` -- Configures the host port that the Floci UI resource is exposed on instead of using a randomly assigned port.
