Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-6957

Add APP_PORT* environment variables

    Details

    • Type: Task
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      It allow the tasks to know the port the app should listen on.

      Used with https://github.com/mesosphere/marathon/blob/master/bin/haproxy_cfg or https://github.com/Wizcorp/frontrunner, the tasks are aware of the port used by the proxy/load balancer.

      The PORTS, PORT, PORT0, ... variables contain the ports used by the task, which are backends for the proxy/lb.
      The APP_PORTS, APP_PORT, APP_PORT0, ... variables contains the port that the app should use, which is the port used by the proxy/lb.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_MiLk Emilien Kenler (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: