greg
greg
CCoder.com
Created by greg on 5/31/2024 in #help
1 Workspace, multiple container, coder_app on each
I hope this is a quick question: I've been playing with the docker version of coder to see what it can do, and was wondering whether it's possible to use multiple containers in a single workspace and expose multiple coder_apps via a Terraform template, where each coder_app resides on a different container. I thought the URL parameter in the coder_app would enable this, but it returns a "502 - Bad Gateway" for the app that isn't running on the coder_workspace container. My presumption is that it only tries to proxy to localhost, since the error looks like it's failing to connect to an [<IPv6_addr>]:80 and the agent log appears to have entries failing to connect to localhost:80. I'm basing the work on the Docker Containers template.
9 replies