Skip to content

coder_app shall allow docker network scoped urls other than localhost #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
amirhmoradi opened this issue Mar 18, 2025 · 0 comments
Open

Comments

@amirhmoradi
Copy link

Use case:
I want to add a coder_app which opens another container's url instead of being limited to http:/:localhost:[PORT]/[SUBPATH] :
(Of course, both containers are part of the same docker network, and the url resolve correctly when using curl.)

example:

resource "coder_app" "auth_phpmyadmin" {
  agent_id            = coder_agent.workspace.id
  slug                = "pma-auth"
  icon                = "https://www.phpmyadmin.net/static/images/logo.png"
  url                 = "http://other-container-phpmyadmin:80/" 
  subdomain           = true
  share               = "authenticated"

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant