This short tutorial demonstrates how simple it is to deploy applications, in this case GitLab CE, with a Docker Swarm cluster, and it builds on the last one, which deployed a Docker Swarm cluster on DigitalOcean.GitLab CE can also be installed and run on a bare metal server as well.It assumes you have a Docker Swarm cluster running, and that you have root access to your nodes.
Source: Deploy GitLab CE on Docker Swarm :: Lunar Computer — DevOps Tutorials