Skip to content

Forwarding ports of other docker-compose services #26051

Answered by Chuxel
jpwilliams asked this question in Codespaces
Discussion options

You must be logged in to vote

You can resolve this with a network trick - we’re going to update the samples at vscode-dev-containers with this.

Try adding the following to your main service:

network_mode: service:rabbit

That should make rabbit MQ available on localhost so the forwarding works properly.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants