Light, fluffy, and always free - The AWS Local Emulator alternative
docs(readme): update (#885)
Cristian de la Hoz92c5c2676332
diff --git a/README.md b/README.mdindex 7703b52455..edbeaf027d 100644--- a/README.md+++ b/README.md@@ -1,155 +1,180 @@<p align="center">- <img src="floci_banner.svg" alt="Floci"/>+ <img src="https://github.com/user-attachments/assets/7f95c191-d457-44f9-bb42-17da438c5320" width="400" alt="Floci" />+ <p align="center">+ <strong>Light, fluffy, and always free</strong><br />+ No account. No auth token. No feature gates. Just <code>docker compose up</code>.+ </p></p><p align="center">- <a href="https://github.com/floci-io/floci/releases/latest"><img src="https://img.shields.io/github/v/release/floci-io/floci?label=latest%20release&color=blue" alt="Latest Release"></a>- <a href="https://github.com/floci-io/floci/actions/workflows/release.yml"><img src="https://img.shields.io/github/actions/workflow/status/floci-io/floci/release.yml?label=build" alt="Build Status"></a>- <a href="https://hub.docker.com/r/floci/floci"><img src="https://img.shields.io/docker/pulls/floci/floci?label=docker%20pulls" alt="Docker Pulls"></a>- <a href="https://hub.docker.com/r/floci/floci"><img src="https://img.shields.io/docker/image-size/floci/floci/latest?label=image%20size" alt="Docker Image Size"></a>- <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-green" alt="License: MIT"></a>- <a href="https://github.com/floci-io/floci/stargazers"><img src="https://img.shields.io/github/stars/floci-io/floci?style=flat" alt="GitHub Stars"></a>- <a href="https://github.com/floci-io/floci/graphs/contributors"><img src="https://img.shields.io/github/contributors/floci-io/floci" alt="GitHub Contributors"></a>- <a href="https://join.slack.com/t/floci/shared_invite/zt-3tjn02s3q-A00kEjJ1cZxsg_imTfy6Cw"><img src="https://img.shields.io/badge/Slack-Join%20the%20community-4A154B?logo=slack&logoColor=white" alt="Join Floci on Slack"></a>+ <a href="#quick-start">Quick Start</a> ·+ <a href="#features">Features</a> ·+ <a href="#supported-services">Services</a> ·+ <a href="#sdk-integration">SDKs</a> ·+ <a href="#testcontainers">Testcontainers</a> ·+ <a href="#migrating-from-localstack">Migration</a> ·+ <a href="https://floci.io/floci/">Docs</a></p>-<p align="center">- <strong>A free, open-source local AWS emulator.</strong><br/>- No account. No feature gates. Just <code>docker compose up</code>.-</p>+----<p align="center">- <em>Named after <a href="https://en.wikipedia.org/wiki/Cirrocumulus_floccus">floccus</a> — the cloud formation that looks exactly like popcorn.</em>-</p>+## What is Floci?-<p align="center">- Join us on <a href="https://join.slack.com/t/floci/shared_invite/zt-3tjn02s3q-A00kEjJ1cZxsg_imTfy6Cw">Slack</a> or <a href="https://github.com/orgs/floci-io/discussions">GitHub Discussions</a> — feature ideas, compatibility questions, design tradeoffs, wild proposals, and half-baked thoughts are all welcome.-</p>+Floci is a free, open-source local AWS emulator for development, testing, and CI.----+It gives you AWS-shaped services on your machine without requiring a cloud account, an auth token, or paid feature gates. Point your AWS SDK, CLI, Terraform, CDK, OpenTofu, or test suite at `http://localhost:4566` and keep your existing workflows.-> [!IMPORTANT]-> **Image moved to `floci/floci`.** Update your `docker-compose.yml` and `docker run` commands:-> ```-> # Before-> image: hectorvent/floci:latest-> # After-> image: floci/floci:latest-> ```-> The old `hectorvent/floci` repository will no longer receive updates.----+Floci is named after [floccus](https://en.wikipedia.org/wiki/Cirrocumulus_floccus), the cloud formation that looks like popcorn.-## Table of Contents--- [Why Floci?](#why-floci)-- [Quick Start](#quick-start)-- [Architecture Overview](#architecture-overview)-- [Real Docker Integration](#real-docker-integration)-- [Supported Services](#supported-services)-- [Persistence & Storage Modes](#persistence--storage-modes)-- [Multi-Account Isolation](#multi-account-isolation)-- [SDK Integration](#sdk-integration)-- [Testcontainers](#testcontainers)-- [Compatibility Testing](#compatibility-testing)-- [Image Tags](#image-tags)-- [Configuration](#configuration)-- [Migrating from LocalStack](#migrating-from-localstack)-- [Contributors](#contributors)-- [License](#license)+## Quick Start----+The fastest way to run Floci is with the official [CLI](https://github.com/floci-io/floci-cli)-## Why Floci?+```bash+floci start+```-> LocalStack's community edition [sunset in March 2026](https://blog.localstack.cloud/the-road-ahead-for-localstack/), requiring auth tokens and freezing security updates. Floci is the no-strings-attached alternative.+Export the AWS environment variables:-| | Floci | LocalStack Community |-|---|:---:|:---:|-| Auth token required | ❌ No | ✅ Yes (since March 2026) |-| Security updates | ✅ Yes | ❌ Frozen |-| Startup time | **~24 ms** | ~3.3 s |-| Idle memory | **~13 MiB** | ~143 MiB |-| Docker image size | **~90 MB** | ~1.0 GB |-| License | **MIT** | Restricted |-| API Gateway v2 / HTTP API | ✅ | ❌ |-| Cognito | ✅ | ❌ |-| ElastiCache (Redis + IAM auth) | ✅ | ❌ |-| RDS (PostgreSQL + MySQL + IAM auth) | ✅ | ❌ |-| MSK (Kafka + Redpanda) | ✅ | ❌ |-| Athena (real SQL via DuckDB sidecar + Glue views) | ✅ | ❌ |-| Glue Data Catalog + Schema Registry | ✅ | ❌ |-| Data Firehose (NDJSON delivery) | ✅ | ❌ |-| S3 Object Lock (COMPLIANCE / GOVERNANCE) | ✅ | ⚠️ Partial |-| DynamoDB Streams | ✅ | ⚠️ Partial |-| IAM (users, roles, policies, groups) | ✅ | ⚠️ Partial |-| STS (all 7 operations) | ✅ | ⚠️ Partial |-| Kinesis (streams, shards, fan-out) | ✅ | ⚠️ Partial |-| KMS (sign, verify, re-encrypt) | ✅ | ⚠️ Partial |-| ECS (clusters, services, tasks) | ✅ | ❌ |-| EKS (clusters, mock + real k3s) | ✅ | ❌ |-| EC2 (real Docker instances, IMDS, SSH, UserData) | ✅ | ❌ |-| CodeBuild (real Docker build execution, S3 artifacts, CloudWatch logs) | ✅ | ❌ |-| CodeDeploy (Lambda traffic shifting, lifecycle hooks, auto-rollback) | ✅ | ❌ |-| Auto Scaling (groups, launch configs, reconciler, ELB v2 integration) | ✅ | ❌ |-| SSM Run Command (SendCommand + real agent polling via ec2messages) | ✅ | ❌ |-| Transfer Family (SFTP server management, users, SSH keys) | ✅ | ❌ |-| Native binary | ✅ ~40 MB | ❌ |+```bash+eval $(floci env)+```-**47 AWS services. Broad coverage. Free forever.**+Use your existing AWS tools normally:----+```bash+aws s3 mb s3://my-bucket-## Quick Start+aws dynamodb create-table \+ --table-name demo-table \+ --attribute-definitions AttributeName=pk,AttributeType=S \+ --key-schema AttributeName=pk,KeyType=HASH \+ --billing-mode PAY_PER_REQUEST++aws dynamodb list-tables+```++### Watch it run++This short demo shows the CLI flow: start Floci, export the local AWS environment, run standard AWS CLI commands, and stop the emulator.++https://github.com/user-attachments/assets/b55714dc-ef36-40ae-a734-cd2cadc288a8++All AWS services are available at `http://localhost:4566`. Any region works. Credentials can be any non-empty values.++<details>+<summary>Prefer Docker Compose?</summary>++Create a `compose.yaml` file:```yaml-# docker-compose.ymlservices:floci:image: floci/floci:latestports:- "4566:4566"- volumes:- - ./data:/app/data```-```bash-docker compose up-```--Or run directly with Docker:+Start Floci:```bash-docker run -d --name floci \- -p 4566:4566 \- -v /var/run/docker.sock:/var/run/docker.sock \- -e FLOCI_DEFAULT_REGION=us-east-1 \- -u root \- floci/floci:latest+docker compose up```-All services are available at `http://localhost:4566`. Any region works. Credentials can be anything.+Then configure your AWS environment manually:```bashexport AWS_ENDPOINT_URL=http://localhost:4566export AWS_DEFAULT_REGION=us-east-1export AWS_ACCESS_KEY_ID=testexport AWS_SECRET_ACCESS_KEY=test+```-aws s3 mb s3://my-bucket-aws sqs create-queue --queue-name my-queue-aws dynamodb list-tables+</details>++<details>+<summary>Using the old <code>hectorvent/floci</code> image?</summary>++Update your image name:++```yaml+# Before+image: hectorvent/floci:latest++# After+image: floci/floci:latest```----+The old `hectorvent/floci` repository no longer receives updates.++</details>++## Features++<details open>+<summary><strong>Local AWS without the cloud account</strong></summary>++Run AWS-compatible services locally without an AWS account, auth token, or paid feature gates.++</details>++<details>+<summary><strong>Real Docker where fidelity matters</strong></summary>++Lambda, RDS, ElastiCache, MSK, ECS, EC2, EKS, OpenSearch, and CodeBuild use real Docker-backed execution instead of shallow mocks.++</details>++<details>+<summary><strong>Drop-in AWS compatibility</strong></summary>++Point standard AWS clients at `http://localhost:4566`. Existing credentials, regions, SDKs, CLI commands, and IaC workflows stay familiar.++</details>++<details>+<summary><strong>Fast enough for CI</strong></summary>++The native image starts in milliseconds and keeps idle memory low, making it practical for local development and test pipelines.++</details>++<details>+<summary><strong>Configurable persistence</strong></summary>++Choose from in-memory, persistent, hybrid, and write-ahead log storage depending on the durability profile you need.++</details>++## Why Floci?++LocalStack's community edition [sunset in March 2026](https://blog.localstack.cloud/the-road-ahead-for-localstack/), requiring auth tokens and freezing security updates. Floci is the no-strings-attached alternative.++| Capability | Floci | LocalStack Community |+|---|:---:|:---:|+| Auth token required | No | Yes |+| Security updates | Yes | Frozen |+| Startup time | ~24 ms | ~3.3 s |+| Idle memory | ~13 MiB | ~143 MiB |+| Docker image size | ~90 MB | ~1.0 GB |+| License | MIT | Restricted |+| API Gateway v2 / HTTP API | Yes | No |+| Cognito | Yes | No |+| RDS, ElastiCache, MSK | Real Docker | No |+| ECS, EC2, EKS | Real Docker | No |+| CodeBuild | Real Docker execution | No |+| Native binary | ~40 MB | No |++**47 AWS services. Broad coverage. Free forever.**## Architecture Overview```mermaidflowchart LR- Client["☁️ AWS SDK / CLI"]+ Client["AWS SDK / CLI"]- subgraph Floci ["Floci — port 4566"]- Router["HTTP Router\n(JAX-RS / Vert.x)"]+ subgraph Floci ["Floci, port 4566"]+ Router["HTTP Router\nJAX-RS / Vert.x"]subgraph Stateless ["Stateless Services"]A["SSM · SQS · SNS\nIAM · STS · KMS\nSecrets Manager · SES\nCognito · Kinesis\nEventBridge · Scheduler · AppConfig\nCloudWatch · Step Functions\nCloudFormation · ACM\nAPI Gateway · ELB v2 · Auto Scaling\nCodeDeploy · Backup · Bedrock Runtime · Route53 · Transfer"]@@ -159,62 +184,118 @@ flowchart LRB["S3 · DynamoDB\nDynamoDB Streams"]end- subgraph Containers ["Container Services 🐳"]+ subgraph Containers ["Container Services"]C["Lambda\nElastiCache\nRDS\nECS\nEC2\nMSK\nEKS\nOpenSearch\nCodeBuild"]- D["Athena ➜ floci-duck\n(DuckDB sidecar)"]+ D["Athena -> floci-duck\nDuckDB sidecar"]endRouter --> StatelessRouter --> StatefulRouter --> Containers- Stateless & Stateful --> Store[("StorageBackend\nmemory · hybrid\npersistent · wal")]+ Stateless & Stateful --> Store[("StorageBackend\nmemory · hybrid · persistent · wal")]end- Docker["🐳 Docker Engine"]+ Docker["Docker Engine"]Client -->|"HTTP :4566\nAWS wire protocol"| Router- Containers -->|"Docker API\n+ IAM / SigV4 auth"| Docker+ Containers -->|"Docker API\nIAM / SigV4 auth"| Docker```----+## Supported Services-## Real Docker Integration+Floci supports local emulation for application services, data services, eventing, identity, infrastructure, billing, and container-backed workloads.-Unlike mock-only emulators, Floci runs **real Docker containers** for services where in-process emulation would compromise fidelity — stateful databases, connection-heavy protocols, and runtimes that require native execution. The result is wire-compatible behavior against the actual engine, not a simplified approximation.+| Category | Services |+|---|---|+| Core app services | S3, SQS, SNS, DynamoDB, Lambda, IAM, STS, KMS, Secrets Manager |+| Events and workflows | EventBridge, EventBridge Scheduler, Step Functions, CloudWatch Logs, CloudWatch Metrics |+| API and identity | API Gateway REST, API Gateway v2, Cognito, ACM, Route53 |+| Containers and compute | ECS, EC2, EKS, CodeBuild, CodeDeploy, Auto Scaling, ELB v2 |+| Data and analytics | Athena, Glue, Firehose, OpenSearch, Textract |+| Messaging and transfer | SES, SES v2, Kinesis, Transfer Family |+| Cost and billing | Pricing, Cost Explorer, Cost and Usage Reports, BCM Data Exports |+| Backup and config | AWS Backup, AppConfig, AppConfigData, CloudFormation |++For operation-level compatibility, see the [Services Overview](https://floci.io/floci/services/).++<details>+<summary>Detailed service notes</summary>-| Service | Default Image | What's real |+| Service | How it works | Notable features ||---|---|---|-| **Lambda** | `public.ecr.aws/lambda/<runtime>` | AWS runtime environment, execution model, warm container pool |-| **ElastiCache** | `valkey/valkey:8` | Full Redis/Valkey protocol, ACL-based IAM auth, SigV4 validation |-| **RDS (PostgreSQL)** | `postgres:16-alpine` | Real PostgreSQL engine, IAM auth via token, JDBC-compatible |-| **RDS (MySQL / Aurora)** | `mysql:8.0` | Real MySQL engine, IAM auth, JDBC-compatible |-| **RDS (MariaDB)** | `mariadb:11` | Real MariaDB engine, IAM auth, JDBC-compatible |-| **MSK** | `redpandadata/redpanda:latest` | Real Kafka-compatible broker via Redpanda |-| **EC2** | AMI-mapped (e.g. `public.ecr.aws/amazonlinux/amazonlinux:2023`) | Real Linux containers; SSH key injection; UserData execution; IMDS with IMDSv1+IMDSv2 and IAM credential serving |-| **ECS** | User-specified in task definition | Actual container lifecycle — start, stop, health checks |-| **EKS** | `rancher/k3s:latest` | Live Kubernetes API server (k3s), full kubeconfig |-| **CodeBuild** | User-specified environment image | Real buildspec execution — install/pre_build/build/post_build phases in container; S3 artifact upload; CloudWatch log streaming |-| **OpenSearch** | `opensearchproject/opensearch:2` | Full OpenSearch engine with REST API |-| **ECR** | `registry:2` | Real OCI-compatible registry — `docker push` / `docker pull` work natively |--### Lambda runtimes--Floci resolves each Lambda runtime to the corresponding [AWS public ECR image](https://gallery.ecr.aws/lambda):--| Runtime | Image |-|---|---|-| `java25` · `java21` · `java17` · `java11` · `java8.al2` · `java8` | `public.ecr.aws/lambda/java:<version>` |-| `python3.14` · `python3.13` · `python3.12` · `python3.11` · `python3.10` · `python3.9` | `public.ecr.aws/lambda/python:<version>` |-| `nodejs24.x` · `nodejs22.x` · `nodejs20.x` · `nodejs18.x` · `nodejs16.x` | `public.ecr.aws/lambda/nodejs:<version>` |-| `ruby3.4` · `ruby3.3` · `ruby3.2` | `public.ecr.aws/lambda/ruby:<version>` |-| `dotnet10` · `dotnet9` · `dotnet8` · `dotnet6` | `public.ecr.aws/lambda/dotnet:<version>` |-| `go1.x` | `public.ecr.aws/lambda/go:1` |-| `provided.al2023` · `provided.al2` · `provided` | `public.ecr.aws/lambda/provided:<variant>` |+| SSM Parameter Store | In-process | Version history, labels, SecureString, tagging |+| SSM Run Command | In-process | SendCommand, GetCommandInvocation, ListCommands, CancelCommand, agent polling via ec2messages |+| SQS | In-process | Standard and FIFO queues, DLQ, visibility timeout, batch operations, tagging |+| SNS | In-process | Topics, subscriptions, SQS, Lambda and HTTP delivery, tagging |+| S3 | In-process | Versioning, multipart upload, pre-signed URLs, Object Lock, event notifications |+| DynamoDB | In-process | GSI, LSI, Query, Scan, TTL, transactions, batch operations |+| DynamoDB Streams | In-process | Shard iterators, records, Lambda event source mapping trigger |+| Lambda | Real Docker | Runtime environment, execution model, warm container pool, aliases, Function URLs |+| API Gateway REST | In-process | Resources, methods, stages, Lambda proxy, MOCK integrations, AWS integrations |+| API Gateway v2 | In-process | HTTP APIs, routes, integrations, JWT authorizers, stages |+| IAM | In-process | Users, roles, groups, policies, instance profiles, access keys |+| STS | In-process | AssumeRole, WebIdentity, SAML, GetFederationToken, GetSessionToken |+| Cognito | In-process | User pools, app clients, auth flows, JWKS and OpenID well-known endpoints |+| KMS | In-process | Encrypt, decrypt, sign, verify, data keys, aliases |+| Kinesis | In-process | Streams, shards, enhanced fan-out, split and merge |+| Secrets Manager | In-process | Versioning, resource policies, tagging |+| Step Functions | In-process | ASL execution, task tokens, execution history |+| CloudFormation | In-process | Stacks, change sets, resource provisioning |+| EventBridge | In-process | Custom buses, rules, SQS, SNS and Lambda targets |+| EventBridge Scheduler | In-process | Schedule groups, schedules, flexible time windows, retry policies, DLQs |+| CloudWatch Logs | In-process | Log groups, streams, ingestion, filtering |+| CloudWatch Metrics | In-process | Custom metrics, statistics, alarms |+| ElastiCache | Real Docker | Redis / Valkey protocol, IAM auth, SigV4 validation |+| RDS | Real Docker | PostgreSQL, MySQL, MariaDB, IAM auth, JDBC-compatible engines |+| MSK | Real Docker | Kafka-compatible broker via Redpanda |+| Athena | In-process with DuckDB sidecar | Real SQL execution over S3 and Glue-backed views |+| Glue | In-process | Data Catalog, Schema Registry, tables consumed by Athena |+| Data Firehose | In-process | Streaming delivery, NDJSON flush to S3 |+| ECS | Real Docker | Clusters, task definitions, tasks, services, capacity providers, task sets |+| EC2 | Real Docker | RunInstances launches containers, SSH key injection, UserData, IMDS, VPC resources |+| ACM | In-process | Certificate issuance and validation lifecycle |+| ECR | In-process with real registry | Repositories, docker push / pull, image-backed Lambda functions |+| SES | In-process | Send email, raw email, identity verification, DKIM, templates |+| SES v2 | In-process | REST JSON API, identities, DKIM, account sending, templates |+| OpenSearch | Real Docker | Domain CRUD, tags, versions, instance types, upgrade stubs |+| AppConfig | In-process | Applications, environments, profiles, hosted versions, deployments |+| AppConfigData | In-process | Configuration sessions and dynamic configuration retrieval |+| Bedrock Runtime | In-process stub | Dummy Converse and InvokeModel responses for local development |+| EKS | Real Docker, mock mode available | k3s clusters with live Kubernetes API server |+| ELB v2 | In-process | ALB, NLB, target groups, listeners, routing rules, Lambda targets, tags |+| CodeBuild | In-process with real Docker | Real buildspec execution, CloudWatch logs, S3 artifacts |+| CodeDeploy | In-process with Lambda traffic shifting | Deployment groups, configs, lifecycle hooks, auto-rollback |+| Auto Scaling | In-process with reconciler | Launch configs, ASGs, desired capacity reconciliation, lifecycle hooks |+| AWS Backup | In-process | Vaults, backup plans, selections, simulated job lifecycle, recovery points |+| Route53 | In-process | Hosted zones, SOA and NS records, resource record sets, change tracking, tagging |+| Transfer Family | In-process | Server lifecycle, user management, SSH key import, tagging |+| Textract | In-process stub | API-compatible stubs, dummy block data, async job simulation |+| Pricing | In-process with static snapshot | Product discovery, attributes, price list files, pagination |+| Cost Explorer | In-process | Cost synthesized from Floci resource state and pricing snapshots |+| Cost and Usage Reports | In-process with floci-duck sidecar | CUR 2.0 and FOCUS 1.2 columns, account-scoped storage, Parquet emission |+| BCM Data Exports | In-process | Export lifecycle, executions, update and delete operations |-Container image functions (package type `Image`) pass the `ImageUri` through directly, with ECR repository URIs rewritten to the local Floci ECR endpoint automatically.+</details>-### Requirements+## Real Docker Integration++Floci uses real Docker containers when in-process emulation would reduce fidelity. This applies to stateful databases, connection-heavy protocols, runtimes, and build systems.-Docker-backed services require the Docker socket to be accessible:+| Service | Default image | What is real |+|---|---|---|+| Lambda | `public.ecr.aws/lambda/<runtime>` | AWS runtime environment, execution model, warm container pool |+| ElastiCache | `valkey/valkey:8` | Redis / Valkey protocol, ACL-based IAM auth, SigV4 validation |+| RDS PostgreSQL | `postgres:16-alpine` | PostgreSQL engine, IAM auth, JDBC-compatible access |+| RDS MySQL / Aurora | `mysql:8.0` | MySQL engine, IAM auth, JDBC-compatible access |+| RDS MariaDB | `mariadb:11` | MariaDB engine, IAM auth, JDBC-compatible access |+| MSK | `redpandadata/redpanda:latest` | Kafka-compatible broker via Redpanda |+| EC2 | AMI-mapped Linux images | Linux containers, SSH key injection, UserData, IMDS, IAM credentials |+| ECS | User-specified task image | Container lifecycle, start, stop, health checks |+| EKS | `rancher/k3s:latest` | Kubernetes API server via k3s |+| CodeBuild | User-specified environment image | Buildspec execution, log streaming, S3 artifact upload |+| OpenSearch | `opensearchproject/opensearch:2` | Full OpenSearch engine with REST API |+| ECR | `registry:2` | OCI-compatible registry for docker push and docker pull |++Docker-backed services require the Docker socket:```bashdocker run -d --name floci \@@ -224,12 +305,8 @@ docker run -d --name floci \floci/floci:latest```-In Docker Compose, add the socket volume alongside any other mounts.-### Overriding default images-All default images are configurable via environment variables — useful for pinning versions or using a local mirror:-| Variable | Default ||---|---|| `FLOCI_SERVICES_ELASTICACHE_DEFAULT_IMAGE` | `valkey/valkey:8` |@@ -240,112 +317,42 @@ All default images are configurable via environment variables — useful for pin| `FLOCI_SERVICES_OPENSEARCH_DEFAULT_IMAGE` | `opensearchproject/opensearch:2` || `FLOCI_SERVICES_EKS_DEFAULT_IMAGE` | `rancher/k3s:latest` || `FLOCI_SERVICES_ECR_REGISTRY_IMAGE` | `registry:2` |-| `FLOCI_ECR_BASE_URI` | `public.ecr.aws` (Lambda runtime base) |+| `FLOCI_ECR_BASE_URI` | `public.ecr.aws` |----+## Persistence and Storage Modes-## Supported Services--> **Lambda, ElastiCache, RDS, MSK, ECS, EC2, EKS, OpenSearch, and CodeBuild** spin up real Docker containers and support IAM authentication and SigV4 request signing — the same auth flow as production AWS. **ECR** runs a shared `registry:2` container so the stock `docker` client can push and pull image bytes against repositories returned by the AWS-shaped control plane.->-> For per-service operation counts and endpoint protocols, see the [Services Overview](https://floci.io/floci/services/) in the documentation site.--| Service | How it works | Notable features |-|---|---|---|-| **SSM Parameter Store** | In-process | Version history, labels, SecureString, tagging |-| **SSM Run Command** | In-process | `SendCommand`, `GetCommandInvocation`, `ListCommands`, `CancelCommand`; `DescribeInstanceInformation`; `ec2messages` polling so the real `amazon-ssm-agent` can register, receive commands, and report output |-| **SQS** | In-process | Standard & FIFO, DLQ, visibility timeout, batch, tagging |-| **SNS** | In-process | Topics, subscriptions, SQS / Lambda / HTTP delivery, tagging |-| **S3** | In-process | Versioning, multipart upload, pre-signed URLs, Object Lock, event notifications |-| **DynamoDB** | In-process | GSI / LSI, Query, Scan, TTL, transactions, batch operations |-| **DynamoDB Streams** | In-process | Shard iterators, records, Lambda ESM trigger |-| **Lambda** | **Real Docker** | Warm pool, aliases, Function URLs, SQS / Kinesis / DDB Streams ESM |-| **API Gateway REST** | In-process | Resources, methods, stages, Lambda proxy, MOCK integrations, AWS integrations |-| **API Gateway v2 (HTTP)** | In-process | Routes, integrations, JWT authorizers, stages |-| **IAM** | In-process | Users, roles, groups, policies, instance profiles, access keys |-| **STS** | In-process | AssumeRole, WebIdentity, SAML, GetFederationToken, GetSessionToken |-| **Cognito** | In-process | User pools, app clients, auth flows, JWKS / OpenID well-known endpoints |-| **KMS** | In-process | Encrypt / decrypt, sign / verify, data keys, aliases |-| **Kinesis** | In-process | Streams, shards, enhanced fan-out, split / merge |-| **Secrets Manager** | In-process | Versioning, resource policies, tagging |-| **Step Functions** | In-process | ASL execution, task tokens, execution history |-| **CloudFormation** | In-process | Stacks, change sets, resource provisioning |-| **EventBridge** | In-process | Custom buses, rules, targets (SQS / SNS / Lambda) |-| **EventBridge Scheduler** | In-process | Schedule groups, schedules, flexible time windows, retry policies, dead-letter queues |-| **CloudWatch Logs** | In-process | Log groups, streams, ingestion, filtering |-| **CloudWatch Metrics** | In-process | Custom metrics, statistics, alarms |-| **ElastiCache** | **Real Docker** | Redis / Valkey, IAM auth, SigV4 validation |-| **RDS** | **Real Docker** | PostgreSQL & MySQL, IAM auth, JDBC-compatible |-| **MSK** | **Real Docker** | Kafka compatible via Redpanda orchestration |-| **Athena** | In-process + **DuckDB sidecar** | Real SQL execution; Glue-backed views over S3 data; `read_parquet` / `read_json_auto` / `read_csv_auto` inferred from SerDe |-| **Glue** | In-process | Data Catalog; Schema Registry for Avro / JSON Schema / Protobuf; tables consumed by Athena as DuckDB views at query time |-| **Data Firehose** | In-process | Streaming data delivery; records flushed as NDJSON to S3 |-| **ECS** | **Real Docker** | Clusters, task definitions, tasks, services, capacity providers, task sets |-| **EC2** | **Real Docker** | `RunInstances` launches real Docker containers; SSH key injection; UserData execution; IMDS (IMDSv1+IMDSv2, port 9169) with IAM credential serving; VPCs, subnets, security groups, AMIs, key pairs, internet gateways, route tables, Elastic IPs, tags |-| **ACM** | In-process | Certificate issuance, validation lifecycle |-| **ECR** | In-process + **real OCI registry** | Repositories, image push / pull via stock `docker`, image-backed Lambda functions |-| **SES** | In-process | Send email / raw email, identity verification, DKIM attributes, email templates with `{{var}}` substitution |-| **SES v2 (HTTP)** | In-process | REST JSON API, identities, DKIM, feedback attributes, account sending, email templates with `{{var}}` substitution |-| **OpenSearch** | **Real Docker** | Domain CRUD, tags, versions, instance types, upgrade stubs |-| **AppConfig** | In-process | Applications, environments, profiles, hosted configuration versions, deployments |-| **AppConfigData** | In-process | Configuration sessions, dynamic configuration retrieval |-| **Bedrock Runtime** | In-process (stub) | Dummy Converse and InvokeModel responses for local development; streaming returns 501 |-| **EKS** | **Real Docker** (mock mode available) | Clusters, tagging; real mode starts k3s per cluster with a live Kubernetes API server |-| **ELB v2** | In-process | Application and Network Load Balancers, target groups, listeners, path/host-based routing rules, Lambda targets (ALB→Lambda event format), tags |-| **CodeBuild** | In-process + **real Docker** | Projects, report groups, source credentials; `StartBuild` runs real Docker containers, streams logs to CloudWatch, uploads artifacts to S3 via `docker cp` |-| **CodeDeploy** | In-process + **Lambda traffic shifting** | Applications, deployment groups, deployment configs; 17 `CodeDeployDefault.*` built-ins pre-seeded; `CreateDeployment` shifts Lambda alias `RoutingConfig` weights, invokes lifecycle hooks, auto-rolls back on failure |-| **Auto Scaling** | In-process + **background reconciler** | Launch configurations, auto scaling groups with min/max/desired capacity; background loop (10 s) calls `RunInstances` / `TerminateInstances` to meet desired capacity; lifecycle hooks, scaling policies, ELB v2 target group auto-registration |-| **AWS Backup** | In-process | Vaults, backup plans with rules, resource selections, on-demand jobs with simulated lifecycle (CREATED → RUNNING → COMPLETED), recovery points, tagging |-| **Route53** | In-process | Hosted zones with auto-created SOA + NS records, resource record sets (CREATE/UPSERT/DELETE with atomic validation), change tracking (always INSYNC), health checks, and per-resource tagging |-| **Transfer Family** | In-process | Server lifecycle (`CreateServer` / `DeleteServer` / `StartServer` / `StopServer` / `UpdateServer`), user management, SSH public key import, and tagging |-| **Textract** | In-process (stub) | API-compatible stubs for all operations; dummy block data with realistic shape and metadata; async job simulation with immediate SUCCEEDED status |-| **Pricing (Price List Service)** | In-process + bundled static snapshot | `DescribeServices`, `GetAttributeValues`, `GetProducts`, `ListPriceLists`, `GetPriceListFileUrl`; pagination; filesystem override via `FLOCI_SERVICES_PRICING_SNAPSHOT_PATH` |-| **Cost Explorer** | In-process; cost synthesized from Floci resource state × Pricing snapshot | `GetCostAndUsage` (full `Filter`/`GroupBy`/`Metrics`/`RECORD_TYPE`), `GetCostAndUsageWithResources`, `GetDimensionValues`, `GetTags`, RI/SP coverage+utilization stubs; CDI-discovered `ResourceUsageEnumerator` SPI for new services to emit cost lines without touching CE |-| **Cost and Usage Reports (CUR)** | In-process management plane + `floci-duck` sidecar for Parquet emission | `PutReportDefinition`, `ModifyReportDefinition`, `DescribeReportDefinitions`, `DeleteReportDefinition`; FOCUS 1.2 / CUR 2.0 columns; account-scoped storage; `synchronous` / `daily` / `off` emit modes |-| **BCM Data Exports** | In-process management plane sharing the CUR Parquet engine | `CreateExport`, `GetExport`, `ListExports`, `UpdateExport`, `DeleteExport`, `ListExecutions`, `GetExecution`; AWS-compatible execution lifecycle (`INITIATION_IN_PROCESS` → `DELIVERY_SUCCESS` / `DELIVERY_FAILURE`) |-------## Persistence & Storage Modes--Floci features a flexible storage architecture designed to balance developer productivity, performance, and data durability. Configure globally via `FLOCI_STORAGE_MODE` or override it per service.+Floci can trade speed for durability depending on the workflow. Configure the default mode with `FLOCI_STORAGE_MODE`, or override storage per service.| Mode | Behavior | Best for | Durability |-|:---:|---|---|:---:|-| **`memory`** | **(Default)** Entirely in-RAM. Data is lost when the container stops. | Speed, ephemeral testing, CI pipelines | ❌ None |-| **`persistent`** | Loaded at startup, flushed to disk on graceful shutdown. | Simple local dev with state preservation | ⚠️ Medium |-| **`hybrid`** | In-memory performance with periodic async flushing every 5 seconds. | The best balance of speed and safety | ✅ Good |-| **`wal`** | Write-Ahead Log. Every mutation is logged to disk before responding. | Maximum durability for critical state | 💎 Highest |--> [!TIP]-> The default **`memory`** mode is ideal for fast, ephemeral CI pipelines. Switch to **`hybrid`** for local development when you want state preserved across container restarts without sacrificing performance.+|---|---|---|:---:|+| `memory` | Entirely in RAM. Data is lost when the container stops. | CI and ephemeral tests | None |+| `persistent` | Loaded at startup and flushed to disk immediately on every write operation. | Simple local state preservation with immediate persistence | Medium |+| `hybrid` | In-memory performance with periodic async flushing every 5 seconds. | Local development | Good |+| `wal` | Write-ahead log. Every mutation is logged before responding. | Maximum durability | Highest |-For more details, see the [Storage Configuration documentation](https://floci.io/floci/configuration/storage/).+Use `memory` for fast test runs. Use `hybrid` when you want state preserved across container restarts without much overhead.----+For more detail, see the [Storage Configuration documentation](https://floci.io/floci/configuration/storage/).## Multi-Account Isolation-Floci supports full per-account resource isolation with no extra configuration. If your AWS access key ID is **exactly 12 digits**, Floci uses it directly as the account ID — resources created by one account are completely invisible to another.+Floci supports per-account resource isolation with no extra setup. If `AWS_ACCESS_KEY_ID` is exactly 12 digits, Floci uses it as the account ID. Resources created by one account are invisible to another.```bash-# Two accounts, full isolation — same queue name, separate namespacesAWS_ACCESS_KEY_ID=111111111111 aws sqs create-queue --queue-name ordersAWS_ACCESS_KEY_ID=222222222222 aws sqs create-queue --queue-name orders```-Any other key format (e.g. `test`, `AKIA…`) falls back to `FLOCI_DEFAULT_ACCOUNT_ID` (`000000000000` by default) — the standard single-account setup.--→ [Multi-Account Isolation docs](https://floci.io/floci/configuration/multi-account/)+Any other key format, such as `test` or `AKIA...`, causes Floci to fall back to `FLOCI_DEFAULT_ACCOUNT_ID`, which defaults to `000000000000`.----+See the [Multi-Account Isolation docs](https://floci.io/floci/configuration/multi-account/).## SDK Integration-Point your existing AWS SDK at `http://localhost:4566` — no other changes needed.+Point your existing AWS SDK at `http://localhost:4566`.<details>-<summary><strong>Java (AWS SDK v2)</strong></summary>+<summary><strong>Java, AWS SDK v2</strong></summary>```javavar client = DynamoDbClient.builder()@@ -363,25 +370,24 @@ client.createTable(b -> b.keySchema(KeySchemaElement.builder().attributeName("pk").keyType(KeyType.HASH).build()));-client.putItem(b -> b- .tableName("demo-table")- .item(Map.of("pk", AttributeValue.fromS("item-1"))));-System.out.println(client.listTables().tableNames());```</details><details>-<summary><strong>Python (boto3)</strong></summary>+<summary><strong>Python, boto3</strong></summary>```pythonimport boto3-client = boto3.client("ssm",++client = boto3.client(+ "ssm",endpoint_url="http://localhost:4566",region_name="us-east-1",aws_access_key_id="test",- aws_secret_access_key="test")+ aws_secret_access_key="test",+)client.put_parameter(Name="/demo/app/message",@@ -397,65 +403,29 @@ print(response["Parameter"]["Value"])</details><details>-<summary><strong>Node.js (AWS SDK v3)</strong></summary>--```javascript-// consumer.mjs-import { DeleteMessageCommand, ReceiveMessageCommand, SQSClient } from "@aws-sdk/client-sqs";--const client = new SQSClient({- endpoint: "http://localhost:4566",- region: "us-east-1",- credentials: { accessKeyId: "test", secretAccessKey: "test" },-});--const QUEUE_URL = "http://localhost:4566/000000000000/demo-queue";--const response = await client.send(- new ReceiveMessageCommand({- QueueUrl: QUEUE_URL,- MaxNumberOfMessages: 1,- WaitTimeSeconds: 5,- }),-);--if (response.Messages) {- for (const msg of response.Messages) {- console.log("Message received:", msg.Body);- await client.send(- new DeleteMessageCommand({- QueueUrl: QUEUE_URL,- ReceiptHandle: msg.ReceiptHandle,- }),- );- }-}-```+<summary><strong>Node.js, AWS SDK v3</strong></summary>```javascript-// producer.mjs-import { SendMessageCommand, SQSClient } from "@aws-sdk/client-sqs";+import { SQSClient, SendMessageCommand } from "@aws-sdk/client-sqs";const client = new SQSClient({- endpoint: "http://localhost:4566",- region: "us-east-1",- credentials: { accessKeyId: "test", secretAccessKey: "test" },+ endpoint: "http://localhost:4566",+ region: "us-east-1",+ credentials: { accessKeyId: "test", secretAccessKey: "test" },});await client.send(- new SendMessageCommand({- QueueUrl: "http://localhost:4566/000000000000/demo-queue",- MessageBody: "hello from producer",- }),+ new SendMessageCommand({+ QueueUrl: "http://localhost:4566/000000000000/demo-queue",+ MessageBody: "hello from floci",+ }),);--console.log("Message sent");```</details><details>-<summary><strong>Go (AWS SDK v2)</strong></summary>+<summary><strong>Go, AWS SDK v2</strong></summary>```gopackage main@@ -464,9 +434,7 @@ import ("context""fmt""log"- "strings"- "github.com/aws/aws-sdk-go-v2/aws""github.com/aws/aws-sdk-go-v2/config""github.com/aws/aws-sdk-go-v2/credentials""github.com/aws/aws-sdk-go-v2/service/s3"@@ -488,39 +456,19 @@ func main() {o.UsePathStyle = true})- _, err = client.CreateBucket(context.TODO(), &s3.CreateBucketInput{- Bucket: aws.String("demo-bucket"),- })- if err != nil {- log.Fatal(err)- }-- _, err = client.PutObject(context.TODO(), &s3.PutObjectInput{- Bucket: aws.String("demo-bucket"),- Key: aws.String("demo.txt"),- Body: strings.NewReader("hello from floci"),- })- if err != nil {- log.Fatal(err)- }-- out, err := client.ListObjectsV2(context.TODO(), &s3.ListObjectsV2Input{- Bucket: aws.String("demo-bucket"),- })+ out, err := client.ListBuckets(context.TODO(), nil)if err != nil {log.Fatal(err)}- if len(out.Contents) > 0 {- fmt.Println(*out.Contents[0].Key)- }+ fmt.Println(out.Buckets)}```</details><details>-<summary><strong>Rust (AWS SDK)</strong></summary>+<summary><strong>Rust, AWS SDK</strong></summary>```rustuse aws_sdk_secretsmanager::config::{Credentials, Region};@@ -544,14 +492,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {.send().await?;- let secret = client- .get_secret_value()- .secret_id("demo/secret")- .send()- .await?;-- println!("{}", secret.secret_string().unwrap());-Ok(())}```@@ -559,45 +499,33 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {</details><details>-<summary><strong>Bash (AWS CLI)</strong></summary>+<summary><strong>Bash, AWS CLI</strong></summary>```bashexport AWS_ACCESS_KEY_ID=testexport AWS_SECRET_ACCESS_KEY=testexport AWS_DEFAULT_REGION=us-east-1-tmp_file="$(mktemp)"-echo "hello from floci" > "$tmp_file"-aws --endpoint-url http://localhost:4566 s3 mb s3://my-bucket-aws --endpoint-url http://localhost:4566 s3 cp "$tmp_file" s3://my-bucket/demo.txt-aws --endpoint-url http://localhost:4566 s3 ls s3://my-bucket--# Cleanup-aws --endpoint-url http://localhost:4566 s3 rm s3://my-bucket/demo.txt-rm -f "$tmp_file"+aws --endpoint-url http://localhost:4566 s3 ls```</details>-----## Testcontainers-Floci has first-class Testcontainers modules so you can start a real Floci instance from your tests with zero manual setup — no running daemon, no shared state, no port conflicts.+Floci has Testcontainers modules for starting isolated Floci instances directly from tests. This avoids shared state, manual daemon setup, and port conflicts.| Language | Package | Latest | Registry | Source ||---|---|---|---|---|| Java | `io.floci:testcontainers-floci` | `1.4.0` | [Maven Central](https://mvnrepository.com/artifact/io.floci/testcontainers-floci) | [GitHub](https://github.com/floci-io/testcontainers-floci) || Node.js | `@floci/testcontainers` | `0.1.0` | [npm](https://www.npmjs.com/package/@floci/testcontainers) | [GitHub](https://github.com/floci-io/testcontainers-floci-node) || Python | `testcontainers-floci` | `0.1.1` | [PyPI](https://pypi.org/project/testcontainers-floci/) | [GitHub](https://github.com/floci-io/testcontainers-floci-python) |-| Go | — | 🚧 In progress | — | [GitHub](https://github.com/floci-io/testcontainers-floci-go) |+| Go | In progress | In progress | N/A | [GitHub](https://github.com/floci-io/testcontainers-floci-go) |<details><summary><strong>Java</strong></summary>-Add the dependency (Testcontainers 1.x / Spring Boot 3.x):-```xml<dependency><groupId>io.floci</groupId>@@ -607,10 +535,6 @@ Add the dependency (Testcontainers 1.x / Spring Boot 3.x):</dependency>```-For Testcontainers 2.x / Spring Boot 4.x use version `2.5.0`.--Basic usage with JUnit 5:-```java@Testcontainersclass S3IntegrationTest {@@ -629,35 +553,11 @@ class S3IntegrationTest {.build();s3.createBucket(b -> b.bucket("my-bucket"));-- assertThat(s3.listBuckets().buckets())- .anyMatch(b -> b.name().equals("my-bucket"));}}```-**Spring Boot** — use `@ServiceConnection` for zero-config auto-wiring:--```java-@SpringBootTest-@Testcontainers-class AppIntegrationTest {-- @Container- @ServiceConnection- static FlociContainer floci = new FlociContainer();-- @Autowired- S3Client s3;-- @Test- void shouldCreateBucket() {- s3.createBucket(b -> b.bucket("my-bucket"));- assertThat(s3.listBuckets().buckets())- .anyMatch(b -> b.name().equals("my-bucket"));- }-}-```+For Testcontainers 2.x / Spring Boot 4.x, use version `2.5.0`.</details>@@ -670,34 +570,32 @@ npm install --save-dev @floci/testcontainers```tsimport { FlociContainer } from "@floci/testcontainers";-import { S3Client, CreateBucketCommand, ListBucketsCommand } from "@aws-sdk/client-s3";+import { S3Client, CreateBucketCommand } from "@aws-sdk/client-s3";describe("S3", () => {- let floci: FlociContainer;-- beforeAll(async () => {- floci = await new FlociContainer().start();+ let floci: FlociContainer;++ beforeAll(async () => {+ floci = await new FlociContainer().start();+ });++ afterAll(async () => {+ await floci.stop();+ });++ it("creates a bucket", async () => {+ const s3 = new S3Client({+ endpoint: floci.getEndpoint(),+ region: floci.getRegion(),+ credentials: {+ accessKeyId: floci.getAccessKey(),+ secretAccessKey: floci.getSecretKey(),+ },+ forcePathStyle: true,});- afterAll(async () => {- await floci.stop();- });-- it("should create and list a bucket", async () => {- const s3 = new S3Client({- endpoint: floci.getEndpoint(),- region: floci.getRegion(),- credentials: {- accessKeyId: floci.getAccessKey(),- secretAccessKey: floci.getSecretKey(),- },- forcePathStyle: true,- });-- await s3.send(new CreateBucketCommand({ Bucket: "my-bucket" }));- const { Buckets } = await s3.send(new ListBucketsCommand({}));- expect(Buckets?.some(b => b.Name === "my-bucket")).toBe(true);- });+ await s3.send(new CreateBucketCommand({ Bucket: "my-bucket" }));+ });});```@@ -714,6 +612,7 @@ pip install testcontainers-flociimport boto3from testcontainers_floci import FlociContainer+def test_s3_create_bucket():with FlociContainer() as floci:s3 = boto3.client(@@ -724,53 +623,15 @@ def test_s3_create_bucket():aws_secret_access_key=floci.get_secret_key(),)s3.create_bucket(Bucket="my-bucket")- buckets = s3.list_buckets()["Buckets"]- assert any(b["Name"] == "my-bucket" for b in buckets)-```--Pytest fixture style:--```python-import pytest-import boto3-from testcontainers_floci import FlociContainer-[email protected](scope="session")-def floci():- with FlociContainer() as container:- yield container--def test_s3_create_bucket(floci):- s3 = boto3.client(- "s3",- endpoint_url=floci.get_endpoint(),- region_name=floci.get_region(),- aws_access_key_id=floci.get_access_key(),- aws_secret_access_key=floci.get_secret_key(),- )- s3.create_bucket(Bucket="my-bucket")- buckets = s3.list_buckets()["Buckets"]- assert any(b["Name"] == "my-bucket" for b in buckets)```</details>-<details>-<summary><strong>Go</strong></summary>--Go support is in progress. Track it at [testcontainers-floci-go](https://github.com/floci-io/testcontainers-floci-go).--</details>------## Compatibility Testing-> For full compatibility validation against real SDK and client workflows, see the [compatibility-tests](./compatibility-tests/) directory.+The [`compatibility-tests`](./compatibility-tests/) directory validates Floci across SDKs and tooling workflows.-This directory provides a dedicated compatibility test suite for Floci across multiple SDKs and tooling scenarios, and is the recommended starting point when verifying integration behavior end to end.--| Module | Language / Tool | SDK / Client / Version | Tests |+| Module | Language / Tool | SDK / Client | Tests ||---|---|---|---:|| `sdk-test-java` | Java 17 | AWS SDK for Java v2 | 889 || `sdk-test-node` | Node.js | AWS SDK for JavaScript v3 | 360 |@@ -784,24 +645,22 @@ This directory provides a dedicated compatibility test suite for Floci across mu**1,850+ automated compatibility tests across 6 SDKs and 3 IaC tools.**-----## Migrating from LocalStack-Floci is a drop-in replacement for LocalStack Community. The port (`4566`), credentials, and all AWS SDK and CLI calls work unchanged — swap the image and you're done.+Floci is a drop-in replacement for LocalStack Community. The port, credentials, SDK configuration, and CLI endpoint pattern work the same way. Swap the image and keep going.```yaml# Beforeimage: localstack/localstack-# After — no init scripts, or scripts that don't call aws / boto3+# After, standard imageimage: floci/floci:latest-# After — init scripts that use aws CLI or boto3-image: floci/floci:latest-compat # includes Python 3, AWS CLI, boto3 pre-configured+# After, if init scripts need AWS CLI or boto3+image: floci/floci:latest-compat```-**LocalStack environment variables are translated automatically** — no renaming required:+LocalStack environment variables are translated automatically:| LocalStack | Floci equivalent ||---|---|@@ -811,63 +670,57 @@ image: floci/floci:latest-compat # includes Python 3, AWS CLI, boto3 pre-confi| `LAMBDA_REMOVE_CONTAINERS=1` | `FLOCI_SERVICES_LAMBDA_EPHEMERAL=true` || `DEBUG=1` | `QUARKUS_LOG_LEVEL=DEBUG` |-Init scripts mounted under `/etc/localstack/init/` run unchanged. The `/_localstack/init` and `/_localstack/health` endpoints are still served. Set `LOCALSTACK_PARITY=false` to opt out of the automatic translation.--→ [Full migration guide](https://floci.io/floci/getting-started/migrate-from-localstack/)+Init scripts mounted under `/etc/localstack/init/` run unchanged. The `/_localstack/init` and `/_localstack/health` endpoints are still served. Set `LOCALSTACK_PARITY=false` to opt out of automatic translation.----+See the [full migration guide](https://floci.io/floci/getting-started/migrate-from-localstack/).## Image Tags-Every tag combines two choices: **variant** (what's inside) and **channel** (how stable).+Every tag combines a variant and a channel.-| | Standard | Compat (+ AWS CLI + boto3) |+| Channel | Standard | Compat with AWS CLI and boto3 ||---|---|---|-| **Release (latest)** | `latest` ✅ | `latest-compat` |-| **Release (pinned)** | `x.y.z` | `x.y.z-compat` |-| **Nightly (floating)** | `nightly` | `nightly-compat` |-| **Nightly (dated)** | `nightly-mmddyyyy` | `nightly-mmddyyyy-compat` |+| Release, floating | `latest` | `latest-compat` |+| Release, pinned | `x.y.z` | `x.y.z-compat` |+| Nightly, floating | `nightly` | `nightly-compat` |+| Nightly, dated | `nightly-mmddyyyy` | `nightly-mmddyyyy-compat` |-- **Standard** — GraalVM native binary. ~24 ms startup, ~40 MB image, ~13 MiB idle memory.-- **Compat** — Extends the standard image with Python 3, AWS CLI, and boto3. Same startup and memory, larger image.-- **Release** — Published on every stable version tag.-- **Nightly** — Built every night at 22:00 CT from `main`. Dated tags (e.g. `nightly-05022026`) are fixed; `nightly` always points to the latest.+Use `latest` for stable releases, a pinned version for reproducible builds, and `nightly` to track `main`.```yaml# Recommendedimage: floci/floci:latest-# With AWS CLI + boto3+# Includes AWS CLI and boto3image: floci/floci:latest-compat-# Pinned+# Pinned releaseimage: floci/floci:1.5.11# Track mainimage: floci/floci:nightly```-----## Configuration-All settings are overridable via environment variables (`FLOCI_` prefix).+All settings are overridable through environment variables with the `FLOCI_` prefix.| Variable | Default | Description ||---|---|---|| `FLOCI_PORT` | `4566` | Port exposed by the Floci API || `FLOCI_DEFAULT_REGION` | `us-east-1` | Default AWS region || `FLOCI_DEFAULT_ACCOUNT_ID` | `000000000000` | Default AWS account ID |-| `FLOCI_BASE_URL` | `http://localhost:4566` | Base URL used when Floci returns service URLs (e.g. SQS QueueUrl) |-| `FLOCI_HOSTNAME` | *(unset)* | Hostname to use in returned URLs when Floci runs inside Docker Compose |-| `FLOCI_STORAGE_MODE` | `memory` | Controls how data is stored: `memory` · `persistent` · `hybrid` · `wal` |+| `FLOCI_BASE_URL` | `http://localhost:4566` | Base URL used when Floci returns service URLs |+| `FLOCI_HOSTNAME` | Unset | Hostname used in returned URLs when Floci runs inside Docker Compose |+| `FLOCI_STORAGE_MODE` | `memory` | Storage mode: `memory`, `persistent`, `hybrid`, or `wal` || `FLOCI_STORAGE_PERSISTENT_PATH` | `./data` | Directory used for persisted state |-| `FLOCI_ECR_BASE_URI` | `public.ecr.aws` | AWS ECR base URI used when pulling container images (e.g. Lambda) |+| `FLOCI_ECR_BASE_URI` | `public.ecr.aws` | ECR base URI used when pulling container images |++Full reference: [configuration docs](https://floci.io/floci/configuration/advanced/application-yml)-- Full reference: [configuration docs](https://floci.io/floci/configuration/application-yml/)-- Per-service storage overrides: [storage docs](https://floci.io/floci/configuration/storage/#per-service-storage-overrides)+### Multi-container Docker Compose-**Multi-container Docker Compose:** When your application runs in a separate container from Floci, set `FLOCI_HOSTNAME` to the Floci service name so that returned URLs (e.g. SQS QueueUrl) resolve correctly:+When your application runs in a different container, set `FLOCI_HOSTNAME` to the Floci service name so returned URLs, such as SQS `QueueUrl` values, resolve correctly.```yamlservices:@@ -876,7 +729,8 @@ services:ports:- "4566:4566"environment:- - FLOCI_HOSTNAME=floci # URLs will use http://floci:4566/...+ - FLOCI_HOSTNAME=floci+my-app:environment:- AWS_ENDPOINT_URL=http://floci:4566@@ -884,24 +738,30 @@ services:- floci```-Without this, SQS returns `http://localhost:4566/...` in QueueUrl responses, which resolves to the wrong container.+Without this, services may return URLs using `localhost`, which points to the wrong container from the application container.----+## Community-## Star history+Join the Floci community on [Slack](https://join.slack.com/t/floci/shared_invite/zt-3tjn02s3q-A00kEjJ1cZxsg_imTfy6Cw) or [GitHub Discussions](https://github.com/orgs/floci-io/discussions). Feature ideas, compatibility questions, design tradeoffs, and rough proposals are welcome.-[](https://star-history.com/#floci-io/floci&Date)+## Star History----+<p align="center">+ <a href="https://www.star-history.com/?repos=floci-io%2Ffloci&type=date&legend=top-left">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=floci-io/floci&type=date&theme=dark&legend=top-left" />+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=floci-io/floci&type=date&legend=top-left" />+ <img width="600" alt="Star History Chart" src="https://api.star-history.com/chart?repos=floci-io/floci&type=date&legend=top-left" />+ </picture>+ </a>+</p>## Contributors<a href="https://github.com/floci-io/floci/graphs/contributors">- <img src="https://contrib.rocks/image?repo=floci-io/floci" />+ <img src="https://contrib.rocks/image?repo=floci-io/floci&max=100&columns=20" /></a>-----## License-MIT — use it however you want.+MIT. Use it however you want.