Files
floci/docker-compose.yml
T
TiMandRicardo Lima f837be0051 fix(lambda): fix container lifecycle on timeout (rebase of #504) (#529)
* fix(lambda): release container handle on timeout instead of draining warm pool

* fix: fix container lifecycle on timeout

* fix(lambda): correct /next poll loop condition and restore response handling

Flip while loop to `invocation == null && !stopped` so the poll actually
runs (previous condition was unreachable because invocation starts null).
Restore the 204 response on null return and the 500 response on
InterruptedException so the handler never leaves the response open.

Without this fix, every RIC call to /next hangs, which also broke the
existing LambdaReactiveSyncIntegrationTest with SocketTimeout.

---------

Co-authored-by: Ricardo Lima <ricardo.hrlima@gmail.com>
2026-04-19 18:34:48 -05:00

30 lines
745 B
YAML

services:
floci:
build:
context: .
dockerfile: Dockerfile
ports:
- "4566:4566"
- "6379-6399:6379-6399"
- "7001-7099:7001-7099"
- "9200-9299:9200-9299"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./scripts:/etc/floci/init/start.d
- ./scripts:/etc/floci/init/stop.d
- ./data:/app/data
environment:
FLOCI_SERVICES_DOCKER_NETWORK: floci_default
FLOCI_SERVICES_RDS_PROXY_BASE_PORT: "7001"
FLOCI_STORAGE_HOST_PERSISTENT_PATH: ${PWD}/data
FLOCI_HOSTNAME: floci
FLOCI_BASE_URL: http://floci:4566
networks:
floci_default:
aliases:
- localhost.floci.cloud
networks:
floci_default:
name: floci_default