Route requests to only one service container in docker swarm mode

Is it possible to configure docker swarm’s load balancer in a way that only one service container is receiving requests. Other containers should be active as far as the service application is concerned, e.g. database replication should work.
Thanks in advance

i saw some discussions on this topic(, Data(base) persistence in docker swarm mode). It seems that the best way at this point is to deploy each db instance as a separate service and have a proxy to manage it.