Skip to content

GitLabΒ #2115

Description

@MickLesk

Name of the Script

GitLab

Script Type

CT (LXC Container)

Does this script support arm64?

arm64 supported

πŸ“‹ Script Details

GitLab CE via the official Omnibus package β€” Git hosting, issues, merge requests, CI/CD, container and package registry, with its own bundled PostgreSQL, Redis, NGINX and Puma.

  • Stack: setup_deb822_repo "gitlab-ce" <gpgkey> https://packages.gitlab.com/gitlab/gitlab-ce/debian "$(get_os_info codename)" main, then EXTERNAL_URL="http://${LOCAL_IP}" apt install -y gitlab-ce.
  • Debian 13 (trixie) is available upstream β€” verified gitlab-ce 18.5.1-ce.0 in both binary-amd64 and binary-arm64 for the trixie suite.
  • Resources: 4 CPU / 8192 MB / 40 GB. The official minimum is 4 GB + swap, but it is unpleasant below 8 GB. The gitlab-ctl reconfigure during install takes several minutes β€” hence (Patience).
  • Update path is apt-based, not check_for_gh_release: apt install gitlab-ce + gitlab-ctl reconfigure.
  • Initial root password in /etc/gitlab/initial_root_password, auto-deleted after 24h β€” flagged as a warning and echoed in the final CT message.
  • Note: Omnibus bundles its own PostgreSQL/Redis/NGINX; nothing else should be installed in this container. Backups via gitlab-backup create, not by copying /var/opt/gitlab.

Source: https://about.gitlab.com/

Activity

  1. MickLesk commented on Aug 3, 2026

    @MickLesk
    MemberAuthor

    The Installation take 10-15min. Gitlab is Huge

  2. github-actions commented on Aug 3, 2026

    @github-actions
    Contributor

    The GitLab script is ready for testing:

    bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/gitlab.sh)"
    

    Default credentials:
    Username: root

    The initial root password is in /etc/gitlab/initial_root_password and is deleted automatically after 24 hours. Log in at http:// as 'root' and change it right away.
    GitLab Omnibus is resource-hungry. 8 GB RAM and 4 cores are the practical minimum; the official requirement is 4 GB RAM plus swap and it will feel slow below 8 GB. The first 'gitlab-ctl reconfigure' during installation takes several minutes.
    external_url is set to the container IP at install time. If you use a domain or a reverse proxy, change external_url in /etc/gitlab/gitlab.rb and run 'gitlab-ctl reconfigure'.
    /etc/gitlab/gitlab.rb sets package['modify_kernel_parameters'] = false. Omnibus otherwise runs 'sysctl -e --system' during reconfigure, which fails in an unprivileged LXC because most kernel keys are not writable. Do not remove that line.
    Omnibus bundles its own PostgreSQL, Redis and NGINX - do not install those separately in this container. Repositories live in /var/opt/gitlab; back up with 'gitlab-backup create' rather than copying directories.

    Note: This is not in the official repo yetβ€”it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.

    Discord testing thread: https://discord.com/channels/1302816934508630047/1533804835776893053

  3. github-actions commented on Aug 10, 2026

    @github-actions
    Contributor

    A PR has been created for gitlab: community-scripts/ProxmoxVE#16386

  4. michelroegl-brunner commented on Aug 10, 2026

    @michelroegl-brunner
    Member

    Merged with #16386 in ProxmoxVE

  5. github-actions commented on Aug 10, 2026

    @github-actions
    Contributor

    Files deleted with PR #2165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions