How do I effectively use configs in docker images?

Hello,

How do I effectively use configs if they can not overwrite local files already present in container filesystem? My application expects configuration file to be in specific location and I’d like to supply it via config in swarm. Issue is how do develop application locally in such cases? compose file does not support configs outside of swarm.