Levelrail
Skip to content

Self-host GitLab CE with Docker ​

A complete DevOps platform for source control, code review, issues, and CI/CD in one place.

This page describes the Levelrail template for GitLab CE (Developer Tools). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.gitlab.com/install/docker/installation/.

Recommended memory: about 4096 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
gitlabgitlab/gitlab-ce:19.3.1-ce.080
gitlab_config -> /etc/gitlab
gitlab_logs -> /var/log/gitlab
gitlab_data -> /var/opt/gitlab

Environment variables ​

ServiceVariableValue
gitlabGITLAB_OMNIBUS_CONFIGPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy GitLab CE with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select GitLab CE. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy gitlab-ce --name my-gitlab-ce

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Developer Tools templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.