Skip to content

Latest commit

 

History

History
86 lines (54 loc) · 3.08 KB

stack-components.md

File metadata and controls

86 lines (54 loc) · 3.08 KB

Parameters

This GitLab pre-configure packages use the Omnibus GitLab for installation and configuration. Omnibus GitLab is a way to package different services and tools required to run GitLab, so that most users can install it without laborious configuration.

Architecture

This is a simplified architecture diagram that can be used to understand GitLab’s architecture.

GitLab Architecture

Components and Version

There many componets packaged in GitLab(view lists), you can see it from the file: /opt/gitlab/version-manifest.txt on your Server

Path

Gitlab version before 13.9 adopts the docker installation mode, and volumes path:/data/wwwroot/gitlab
For details, please checkGitLab Docker installation

GitLab

GitLab configuration file: /etc/gitlab/gitlab.rb
GitLab and all components: /opt/gitlab
GitLab Repository storage directory: /var/opt/gitlab/git-data
GitLab backup directory: /var/opt/gitlab/backups

Unicorn

Unicorn logs direcotry: /var/log/gitlab/unicorn

Sidekiq

Unicorn logs directory: /var/log/gitlab/sidekiq

Nginx

Nginx logs directory: /var/log/gitlab/nginx
Nginx configuration file: /var/opt/gitlab/nginx/conf/nginx.conf
GitLab core Nginx configuration file: /var/opt/gitlab/nginx/conf/gitlab-http.conf

PostgreSQL

PostgreSQL installation directory: /var/opt/gitlab/postgresql
PostgreSQL logs directory: /var/log/gitlab/postgresql
PostgreSQL-Exporter logs directory: /var/log/gitlab/postgres-exporter
PostgreSQL data direcoty: /var/opt/gitlab/postgresql/data

Redis

Redis installation directory: /var/opt/gitlab/redis
Redis logs directory: /var/log/gitlab/redis

Potainer

potainer installation directory: /data/apps/portainer potainer data directory: /data/apps/portainer/data

Ports

You can view all the used ports from the official docs Package defaults . You can control(open or shut down) ports by Security Group Setting of your Cloud Server whether the port can be accessed from Internet.

These ports should be opened for this application:

Name Number Use Necessity
HTTP 80 HTTP requests for Gitlab Required
HTTPS 443 HTTPS requests Gitlab Optional
HTTPS 9000 HTTP requests Potainer Optional

Version

You can see the version from product page of Marketplace. However, after being deployed to your server, the components will be automatically updated, resulting in a certain change in the version number. Therefore, the exact version number should be viewed by running the command on the server:

# Linux Version
lsb_release -a

# Nginx version:
nginx -v

# PostgreSQL version:
psql --version

# Dokcer:
docker --version