Coder.comC
Coder.com4y ago
7 replies
dorkbydesign

`coder_app` resource doesn't proxy non localhost addresses

I have PGAdmin running in a separate container with the hostname pgadmin.

I have specified a coder_app resource like this:
resource "coder_app" "pgadmin" {
  agent_id = coder_agent.main.id
  name     = "PGAdmin"
  url      = "http://pgadmin/"
  icon     = "icons/pgadmin.svg"
  relative_path = true
}


However I just get the following error message:
PGAdmin is offline!
read tcp [ipv6-here]:44715: connection reset by peer


Any help would be much appreciated
Was this page helpful?