I'd like to run Traefik in autoconfigure mode on one my servers, but during testing I discovered that when using it with other docker-compose services, I need to plug them in to multiple networks, add the external_networks clause... and I don't like the amount of changing it requires.
I came up with running Traefik with
network_mode: host, but I thought I'd ask first in case there's a security implication that I hadn't thought of. With
network_mode: host, Traefik would be able to see other containers and not cause Gateway Timeout errors.
Is it a bad idea?