Before you can build or run the FTGO application, you need a small set of tools installed on your machine. This page covers the required software, the recommended hardware configuration, and how to set theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/microservices-patterns/ftgo-application/llms.txt
Use this file to discover all available pages before exploring further.
DOCKER_HOST_IP environment variable that some network configurations require.
Required software
| Tool | Version | Purpose |
|---|---|---|
| Java | 8 or later | Compiles and runs the Spring Boot services |
| Docker | Any current release | Builds and runs service containers |
| Docker Compose | Any current release | Orchestrates the multi-container stack |
| Git | Any current release | Clones the repository |
Hardware
The application runs well on a machine with 16 GB of RAM. This covers all application services (Consumer, Order, Kitchen, Restaurant, Accounting, Order History, and API Gateway) alongside the infrastructure containers (MySQL, Apache Kafka, Zookeeper, CDC service, DynamoDB Local, and Zipkin).Setting DOCKER_HOST_IP
Most users running Docker for Mac or Docker for Windows do not need to set this variable. Containers are accessible via
localhost on those platforms.localhost. In that case you must export DOCKER_HOST_IP so that both the Java services and the containers themselves can reach each other.
Check whether DOCKER_HOST_IP is needed
If you are running Docker Desktop on macOS or Windows, containers are accessible via
localhost and you can skip this setup entirely.If you are using Docker Toolbox or a remote Docker daemon, continue to the next step.Run the set-env.sh helper script
The repository includes a helper script that reads the The script prints one of two messages:
DOCKER_HOST variable set by Docker Toolbox and derives the correct IP automatically:DOCKER_HOST_IP is not set - localhost will be used— no action required.DOCKER_HOST_IP is <address>— the variable is now exported for your shell session.
COMPOSE_HTTP_TIMEOUT=240, which prevents Docker Compose from timing out during the slow initial pull of large images.Verify the value is reachable
Confirm that A successful response indicates that containers can reach the host at the configured address.
DOCKER_HOST_IP resolves correctly from inside a container by running:Set the variable in your IDE (optional)
If you intend to run Java services or tests from within an IDE while the infrastructure runs in Docker, you must also add
DOCKER_HOST_IP to your IDE’s run or test configuration. The exact location depends on your IDE; a convenient approach is to launch the IDE from a terminal after sourcing set-env.sh.