mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
CHANGELOG.md was empty for the 1.1.0-1.5.2 release cycle and service docs had drifted from code behaviour. This sweep reconciles docs against the current codebase on upstream/main. - Backfill CHANGELOG.md for 1.1.0 through 1.5.2 from git history - Correct exact operation counts in docs/services/index.md: S3 (~30 -> 58), Lambda (~25 -> 30), API Gateway v1 (~24 -> 62). Counts now come from the actual dispatch handlers rather than @Path annotation counts. - Rewrite README "Supported Services" table to drop per-service op counts (they drift too fast); point readers at docs/services/index.md - Update 24 service docs for accuracy, add "Not Implemented" sections where relevant (s3.md, lambda.md, api-gateway.md) - Refresh configuration and getting-started docs - Add EventBridge Scheduler and AppConfig to mkdocs nav - Add AppConfig / AppConfigData rows to README and services index following the 1.5.2 upstream release
1.9 KiB
1.9 KiB
Installation
Floci can be run three ways: as a Docker image, as a pre-built native binary, or built from source.
Docker (Recommended)
No installation required beyond Docker itself.
docker pull hectorvent/floci:latest
| Tag | Description |
|---|---|
latest |
Native image — sub-second startup, low memory (default) |
x.y.z |
Native image — specific release version |
latest-jvm |
JVM image — most compatible |
x.y.z-jvm |
JVM image — specific release version |
Requirements
- Docker 20.10+
docker composev2+ (plugin syntax, not standalonedocker-compose)
Native vs JVM
The latest tag is the native image — a self-contained executable with no JVM dependency.
services:
floci:
image: hectorvent/floci:latest # native — recommended
ports:
- "4566:4566"
Use the JVM image if you need broader platform compatibility or encounter native image issues:
services:
floci:
image: hectorvent/floci:latest-jvm
ports:
- "4566:4566"
Startup comparison
| Image | Tag | Typical startup | Idle memory |
|---|---|---|---|
| Native | latest / x.y.z |
~24 ms | ~13 MiB |
| JVM | latest-jvm / x.y.z-jvm |
~2 s | ~250 MB |
Build from Source
Prerequisites
- Java 25+
- Maven 3.9+
- (Optional) GraalVM Mandrel for native compilation
Clone and run
git clone https://github.com/floci-io/floci.git
cd floci
mvn quarkus:dev # dev mode with hot reload on port 4566
Build a production JAR
mvn clean package -DskipTests
java -jar target/quarkus-app/quarkus-run.jar
Build a native executable
mvn clean package -Pnative -DskipTests
./target/floci-runner
!!! note
Native compilation requires GraalVM or Mandrel with the native-image tool on your PATH. Build time is typically 2–5 minutes.