Deploying to multiple servers using app templates

Hi - I am looking the way to use app template to deploy docker container on 80+ servers. Also need to use variables as my container name will be different on each of servers. I want to append hostname to container name.