I followed the docker installation instructions for Windows with WSL2 and so far have not been able to get the forms-flow-webapi and forms-flow-bpm containers to run. All other containers are running as expected:
In the picture above, you can see forms-flow-webapi and forms-flow-bpm are not running. In fact, they restart constantly and the output can be seen below:
forms-flow-webapi container output
urllib.error.URLError: <urlopen error [Errno 99] Cannot assign requested address>
forms-flow-bpm container output
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:8080/auth/realms/forms-flow-ai/.well-known/openid-configuration": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
Both containers restart endlessly, always displaying the same output. I have followed the instructions provided here https://github.com/AOT-Technologies/forms-flow-ai/tree/master/deployment/docker step by step, even tried on different physical machines, always the same.
I have edited the .env files located in ./forms-flow-idm/keycloak/.env
, ./forms-flow-analytics/.env
and ./deployment/docker/.env
. I repeated the installation process several times using the current version available (commit 18a77a) and got the same result every single time. I might have missed something but I can't figure out what it is by just looking at the output. Any guidance is appreciated.
I fixed it by following https://github.com/AOT-Technologies/forms-flow-ai/tree/master/forms-flow-bpm
It should work.