First, build the application
./gradlew assemble
Next, launch the services using Docker Compose:
export DOCKER_HOST_IP=...
docker-compose build
docker-compose up -d
Note: You need to set DOCKER_HOST_IP
before running Docker Compose.
This must be an IP address or resolvable hostname.
It cannot be localhost
.
See this guide to setting DOCKER_HOST_IP
for more information.
Once the application has started, you can use the application via the Swagger UI.
http://${DOCKER_HOST_IP}:8081/swagger-ui.html
http://${DOCKER_HOST_IP}:8082/swagger-ui.html
You can also use the Eventuate Local console to view aggregates and watch the stream of events.
Visit the URL http://${DOCKER_HOST_IP}:8085