How to have container/network aliases in swarm 1.12rc4

I am trying to figure out swarm mode networking. I have a container that I usually call authdb, but in code it is referenced as auth.db.host. In Compose it was simple to setup a link, but I’m not seeing how that work in swarm.