question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[docker-compose] distro not working properly ?

See original GitHub issue

Environment - Windows 10 pro / Docker for windows v20.10.2 / Google Chrome 87.0.4280.141 ApiCurio release - latest on Master branch (on the time of this comment) Issue description:

we have been trying to test ApiCurio on our local Docker compose to evaluate it, as we have been hearing good feedback about it so far, but we are having difficult time setting it up using its Docker Compose distro …

  1. docker-compose distro is not running correctly due to an issue connecting to mysql without SSL.
  2. quarkus docker-compose has been installed correctly
    • but not initially, as we had to replace this string in the .env file in order for Apicurio to integrate with the auth service correctly …
      • APICURIO_KC_AUTH_URL=http://192.168.1.40:8090/auth/realms/apicurio replaced with APICURIO_KC_AUTH_URL=http://192.168.1.40:8090/auth
    • and all 3 portals opened correctly after that (keycloack, microcks, & Apicurio)
    • but Apicurio portal couldn’t work with its api due to CORS issue Screenshot 2021-01-24 172036

are we missing any configurations ?

Thank you.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
carlesarnalcommented, Jan 31, 2021

Hi @hanyEthan, I’m glad you raised this cause it led me to find a bug in the docker-compose distro. We had a problem with the microcks realm template, causing the redirect URI to be invalid. I’ve linked a PR that should fix the issue.

Also, as a side note, you should access the applications using your host IP, using localhost will lead you to the same invalid_url error.

Thanks!

0reactions
hanyEthancommented, Jan 31, 2021

thank you @carlesarnal, the installation and auth are working properly now. we will continue our evaluation, and will report any blockers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker compose volumes not working
The WSL distribution is not Docker. Docker Desktop just uses WSL2 to have a virtual Linux OS. depechie:
Read more >
Why is Docker installed but not Docker Compose?
Installing docker doesn't mean that you've installed docker-compose. It has as prerequisitions that you' ...
Read more >
the command 'docker-compose' could not be found in this ...
I've Windows 10 Home, but my docker isn't working properly: docker sucks. If I run the command echo $PATH inside WSL, I get:....
Read more >
Install Docker in WSL 2 without Docker Desktop
Step 2: Install Docker / Docker Compose v2 in WSL 2 ... 2>&1 | grep -q "is not running"; then wsl.exe --distribution "${WSL_DISTRO_NAME}" ......
Read more >
Get started with Docker remote containers on WSL 2
However, while Docker Desktop supports running both Linux and Windows containers, you can not run both simultaneously. To run Linux and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found