How can I connect to the Shopware 6 API from another docker container #182
Answered
by
shyim
Walter-Melon
asked this question in
Q&A
-
Hey I'm currently stuck trying to connect my other docker container to a dev shop so that I can connect to the API. I have a Laravel application running on http://localhost:8080 (created using https://laravel.com/docs/9.x/sail) Is there some kind of way for me to connect both containers so that I can call the Admin API? |
Beta Was this translation helpful? Give feedback.
Answered by
shyim
Feb 1, 2023
Replies: 1 comment
-
You could join one of the containers in the same network. So they can reach using the internal ip. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Walter-Melon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could join one of the containers in the same network. So they can reach using the internal ip.
https://docs.docker.com/engine/reference/commandline/network_connect/