# Gitlab Community Edition (CE)

#### WIS

<p class="callout danger">ACHTUNG: Systemmindestvoraussetzungen beachten: 4-Core CPU, 4GB RAM  
[https://docs.gitlab.com/ee/install/requirements.html](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)</p>

```yaml
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'
```

<p class="callout warning">danach in die container shell gehen und mit `sudo cat /etc/gitlab/initial_root_password`das pw für den Benutzer root (oder admin? oder frei wählbar?) anzeigen lassen</p>

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