Docker - Unable to contact EngineAPI


I'm trying to create multiple docker container with a docker-compose.
I have 3 containers:
- bonita
- postgres
- webapps

In my webapp i have one application that's use EngineAPI to do some actions, like launch a process.
When i'm tryin to connect to bonitaEngine, i've got this error:

Engine API not working with Bonita docker container (v7.8.3)


I'm trying to write some Java script that uses Bonita engine API to interact with a Bonita docker container. The docker-compose file and the Java code are as follows.

docker-compose.yml: (followed instructions on