这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@josegonzalez
Copy link
Member

@josegonzalez josegonzalez commented Dec 27, 2022

Port management is all over the place in the Dokku codebase, and makes certain operations for users more annoying - particularly anything in regards to exposing ports for dockerfile/image-based deployments.

This change centralizes all that logic and removes the dependency on the weird port env vars.

Todo:

This ensures users don't set the proxy type to a port map, but also simplifies interactions with ports by giving them their own namespace.
Rather than directly interact with the port map, we now depend on plugin triggers to do so. This allows a further refactor to move the port map to a property instead of having it as a config variable.
I honestly don't remember what this does and kinda think I'll need to rip it out since it seems inscrutable...
@josegonzalez
Copy link
Member Author

There is too much going on here. I think I need to redo this PR so that we:

  • don't break the proxy:ports commands (that can be done after the ansible repo is updated)
  • it separates the port command refactor from the port handling code (to make it easier to review/debug)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants