The fact that everything is done with a single compose file is the reason I set it up like this (mostly because it was a good learning opportunity).
I'm still trying to find a way around the necessity to expose the docker socket to configure the proxy though.