Files
floci/docs/getting-started/installation.md
T
TiM a32b7f1f3b docs: comprehensive audit sweep + CHANGELOG backfill (1.1.0-1.5.2) (#326)
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
2026-04-10 10:52:34 -05:00

85 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.
```bash
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 compose` v2+ (plugin syntax, not standalone `docker-compose`)
## Native vs JVM
The `latest` tag is the native image — a self-contained executable with no JVM dependency.
```yaml title="docker-compose.yml"
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:
```yaml title="docker-compose.yml"
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
```bash
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
```bash
mvn clean package -DskipTests
java -jar target/quarkus-app/quarkus-run.jar
```
### Build a native executable
```bash
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.