Skip to main content

Gitlab Community Edition (CE)

WIS

ACHTUNG: Systemmindestvoraussetzungen beachten:  4-Core CPU, 4GB RAM
https://docs.gitlab.com/ee/install/requirements.html 
Ansonsten legt es den Server lahm (hohe Festplatten I/Os und CPU am Limit, nichts geht mehr)

version: '3.6'
services:
  web:
    image: 'gitlab/gitlab-ce:latest'
    restart: always
    hostname: 'gl.wo....se.com'
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'https://gl.wo...se.com'
        # Add any other gitlab.rb configuration here, each on its own line
    ports:
      - '9680:80'
      - '9643:443'
      - '9622:22'
    volumes:
      - './gitlab/config:/etc/gitlab'
      - './gitlab/logs:/var/log/gitlab'
      - './gitlab/data:/var/opt/gitlab'
    shm_size: '256m'

danach in die container shell gehen und mit sudo cat /etc/gitlab/initial_root_passworddas pw für den Benutzer root (oder admin? oder frei wählbar?) anzeigen lassen

Quelle auch mit Hinweis zu Kubernetes secret: 
https://forum.gitlab.com/t/after-gitlab-ce-installation-on-ubuntu/32896/7