Getting started
Local Console runs as a Docker container next to Floci. Your app talks to Floci with the normal AWS SDK; you open the console in a browser to see and change what is inside.
your app ───── AWS SDK ─────► Floci :4566
▲
│
browser / MCP client ──► Local Console :3701Everything the console shows comes from Floci, so your app and the console always see the same data.
See it in action
Requirements
- Docker with Compose.
- Floci 2.4.0 (the version the console is tested with).
The image is ghcr.io/ngtrthvu3007/local-console, for linux/amd64 and linux/arm64. Use latest, or pin one of the published version tags.
Run with Docker Compose
Save this as docker-compose.yml:
services:
floci:
image: floci/floci:2.4.0
ports:
- "127.0.0.1:4566:4566"
- "127.0.0.1:6379-6399:6379-6399" # ElastiCache (Redis) for apps on your machine
- "127.0.0.1:7001-7099:7001-7099" # RDS databases for apps and SQL clients on your machine
environment:
FLOCI_SERVICES_UI_ENABLED: "false"
FLOCI_STORAGE_MODE: hybrid # keep data across restarts
FLOCI_HOSTNAME: localhost.floci.io
FLOCI_TLS_ENABLED: ${FLOCI_TLS_ENABLED:-false}
FLOCI_SERVICES_EC2_VPC_NETWORKS_ENABLED: "false"
extra_hosts:
- "host.docker.internal:host-gateway" # SNS HTTP subscriptions to apps on your machine (Linux)
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Lambda, Redis, RabbitMQ, database containers
- floci-data:/app/data
networks:
default:
aliases:
- localhost.floci.io
console:
image: ghcr.io/ngtrthvu3007/local-console:latest
ports:
- "127.0.0.1:3701:3701"
environment:
AWS_ENDPOINT_URL: http://localhost.floci.io:4566
AWS_REGION: ${AWS_REGION:-ap-southeast-1} # must match your app's region
depends_on:
- floci
volumes:
floci-data: # remove data with: docker compose down -vStart both:
docker compose up -d- 🖥️ Console: http://localhost:3701
- 🔌 Floci (point your app here):
http://localhost:4566
Why these Floci settings are there: Configuration › Floci settings.
Run with docker run
The same setup without Compose. Both containers share a network, and Floci gets the localhost.floci.io alias so the URLs it returns work inside it:
docker network create local-aws
docker volume create floci-data
docker run -d --name floci --network local-aws --network-alias localhost.floci.io \
-p 127.0.0.1:4566:4566 -p 127.0.0.1:6379-6399:6379-6399 -p 127.0.0.1:7001-7099:7001-7099 \
-e FLOCI_SERVICES_UI_ENABLED=false -e FLOCI_STORAGE_MODE=hybrid \
-e FLOCI_HOSTNAME=localhost.floci.io -e FLOCI_SERVICES_EC2_VPC_NETWORKS_ENABLED=false \
--add-host host.docker.internal:host-gateway \
-v /var/run/docker.sock:/var/run/docker.sock -v floci-data:/app/data \
floci/floci:2.4.0
docker run -d --name local-console --network local-aws \
-p 127.0.0.1:3701:3701 \
-e AWS_ENDPOINT_URL=http://localhost.floci.io:4566 -e AWS_REGION=ap-southeast-1 \
ghcr.io/ngtrthvu3007/local-console:latestRun as Floci's web console
Already running Floci your own way? Local Console follows the Floci console contract, so Floci can start it for you in place of its built-in UI. Set one variable on Floci and keep the rest of your setup:
environment:
FLOCI_SERVICES_UI_IMAGE: ghcr.io/ngtrthvu3007/local-console:latestThen open http://localhost:4566/_floci/ui. Floci starts the console on port 4500 and redirects you there. The ports, region and data volume follow your Floci settings, so services that need extra ports (ElastiCache, RDS, Amazon MQ) work only if your Floci publishes them.
Open the console
Open http://localhost:3701. Console Home shows:
- Floci status and version, and Reset data to wipe everything.
- Connect your app: the environment variables to paste, for apps on your machine and inside Docker.
- Connect your AI agent: the MCP settings for common clients.
- Your recently visited services. Press
/anywhere to search for a service.
If Floci is not running, every page shows the command to start it and comes back by itself once Floci is up.
Open it through localhost
The console answers only requests addressed to localhost, 127.0.0.1 or [::1]. Any other hostname gets 403.
Region
The console works in one region, set with AWS_REGION (default ap-southeast-1). It must match the region your app uses, or you won't see its resources:
AWS_REGION=us-east-1 docker compose up -dPowerShell: $env:AWS_REGION="us-east-1"; docker compose up -d.
Connect your app
Point the AWS SDK at Floci with any credentials:
AWS_ENDPOINT_URL=http://localhost:4566 # app inside the same compose: http://localhost.floci.io:4566
AWS_ACCESS_KEY_ID=test
AWS_SECRET_ACCESS_KEY=test
AWS_REGION=ap-southeast-1
AWS_DEFAULT_REGION=ap-southeast-1 # read by Python (boto3)- S3 clients also need path-style addressing (
forcePathStyle: truein the JavaScript SDK). - Resource pages have a Connect card with Node.js (AWS SDK v3) and Python (boto3) code, with the resource's name, URL or ARN filled in.
- RDS: from your machine connect to
localhost:<port>(DBeaver,psql, your app); from Lambda or apps in the same compose, use the endpoint Floci returns. The database page shows both. - SNS → HTTP endpoint on your machine: subscribe
http://host.docker.internal:<port>/...(inside Floci,localhostis Floci itself), then confirm with theSubscribeURLof the first message.
Offline use
URLs Floci returns (SQS queue URLs, Redis endpoints, CloudFront local URLs…) use localhost.floci.io, which public DNS resolves to 127.0.0.1. Offline, or on networks that block such answers, add this line to your hosts file:
127.0.0.1 localhost.floci.ioWildcard names such as <id>.cloudfront.localhost.floci.io can't go in a hosts file, so CloudFront local URLs need DNS.
First use of some services
Floci pulls extra images the first time you use some services, so that first call is slow and needs internet:
| First… | Pulls |
|---|---|
| Lambda invoke | the Lambda runtime image |
| ElastiCache cluster | Valkey |
| Amazon MQ broker | RabbitMQ |
| RDS database of an engine | PostgreSQL or MySQL |
| DocumentDB cluster | MongoDB |
| ECS task | the task's image from public.ecr.aws |
Data, reset and updates
- Data survives restarts (
FLOCI_STORAGE_MODE: hybrid). - Reset data on Console Home wipes every service in every region. Redis, RabbitMQ and database containers keep running until
docker compose restart floci; the reset dialog shows that command. - Start from scratch completely:
docker compose down -v. - Update the console:
docker compose pull console && docker compose up -d console.