I have Traefik reverse proxy running to allow a couple of docker containerized apps to run on the same domain just to learn about running multiple containers following https://www.smarthomebeginner.com/traefik-reverse-proxy-tutorial-for-docker. Everything works well. I want to install Device Hive to test it as an IOT platform, but it has multiple containers and it's own nginx proxy and docker-compose file https://github.com/devicehive/devicehive-docker/blob/master/rdbms-image/docker-compose.yml.

Is there a way I can add the Device Hive platform to my existing Traefik build or is it more trouble than its worth. I wondering, more or less while making sure I'm not having a port conflict, if there's an easy way to have Traefik point a subdomain(subdomains are used for the other apps) to the 80/443 ports of the nginx proxy, and just have everything work. My other option is to create another VM for the IOT platform.

I may be searching with the wrong terms but I haven't really found an answer. Any help is appreciated.

  • 1
    if you look at the function that these services are performing, it doesn't make sense to have 2 proxies (Traefik, Nginx) - unless you really need them for some performance or architecture reason. If you want to work with both,you can set the containers up on different ports and configure the apps behind them differently. But for your purposes it really feels like overkill. Can you explain what you want to get out of this exercise exactly? – Bruce Becker Nov 8 at 12:58
  • I want to use Device Hive on my existing server which is using Traefik. When I look at the docker compose file for Device Hive I don't see how I could change it to leave Nginx out. – mwebuet Nov 10 at 4:50

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.