# Integrating Traefik reverse proxy with MING

**URL:** <https://forums.balena.io/t/integrating-traefik-reverse-proxy-with-ming/368804>\
**Category:** Project help\
**Created:** [August 24, 2023, 2:47pm UTC](https://forums.balena.io/t/integrating-traefik-reverse-proxy-with-ming/368804 "2023-08-24T14:47:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajlennon](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ajlennon/32/63_2.png) [@ajlennon](https://forums.balena.io/u/ajlennon)\
**Post date:** [August 24, 2023, 2:47pm UTC](https://forums.balena.io/t/integrating-traefik-reverse-proxy-with-ming/368804/1 "2023-08-24T14:47:00Z")

</div>

Hi all,

I am integrating Traefik with the MING stack so we can access Node-Red, Grafana and other containerised services remotely via URL paths rather than needing various TCP ports to be open.

To do this cleanly with the existing Balena Node-Red block I need to make a change to allow configuration of the Node-Red webserver root path with an environment variable.

@mpous could you ask somebody to take a look at these PRs please and hopefully we can get them merged in so I can leverage the NodeRed block with some MING PRs?

> <https://github.com/balena-labs-projects/balena-node-red/pull/49>
>
> This allows us to integrate the Node-Red block with Traefik for remote access vi…a a URL path rather than a TCP port

> <https://github.com/balena-labs-projects/balena-node-red/pull/48>

---

<div class="post-metadata">

**Author:** ![ajlennon](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ajlennon/32/63_2.png) [@ajlennon](https://forums.balena.io/u/ajlennon)\
**Post date:** [August 24, 2023, 2:59pm UTC](https://forums.balena.io/t/integrating-traefik-reverse-proxy-with-ming/368804/2 "2023-08-24T14:59:15Z")

</div>

Then my draft PR for the Traefik changes to MING is here

> <https://github.com/mpous/ming/pull/5>
>
> This allows us to access MING containers such as Node-Red and Grafana without ne…eding to open different ports
> 
> \- Port :8080 is used for the Traefik admin web UI
> \- Port :80 is use for everything else
> 
> http://foo:80/node-red is mapped to the node-red container http://foo:80/grafana is mapped to the grafana container http://foo:80/ is also mapped to the grafana container
> 
> This also serves as an example of how to configure Traefik to access containers remotely via port :80
