I'm trying to do the same thing as you and have been unsuccessful... Getting cross talk between docker-compose projects and it is hard to debug.
If I add the traefik.docker.network name, then I get logs say it skips container because field not found (doesn't quite make sense to me):
time="2021-03-24T11:05:58Z" level=error msg="Skip container service-COMPOSE_PROJECT_NAME: field not found, node: network:{NETWORK}" providerName=docker
Anyway, your networks field shows the network that is local to the docker-compose file. Wouldn't it be, according to your example:
networks:
shared-network-with-traefik:
external:
name: something-else
And something-else would also be added externally in the main networking field of traefik's docker-compose? Currently it seems shared-network-with-traefik is the name of the network that is local to that project's docker-compose file...
Also, any other progress on getting total separation & concurrent use of multiple docker-compose files w/ 1 traefik instance - would be very useful to hear about
Thanks!
NOTE: variable names in log output are evaluated correctly.