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.
This is a simplified architecture diagram that can be used to understand GitLab’s architecture.
There many componets packaged in GitLab(view lists), you can see it from the file: /opt/gitlab/version-manifest.txt on your Server
Gitlab version before 13.9 adopts the docker installation mode, and volumes path:/data/wwwroot/gitlab
For details, please checkGitLab Docker installation
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 logs direcotry: /var/log/gitlab/unicorn
Unicorn logs directory: /var/log/gitlab/sidekiq
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 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 installation directory: /var/opt/gitlab/redis
Redis logs directory: /var/log/gitlab/redis
potainer installation directory: /data/apps/portainer potainer data directory: /data/apps/portainer/data
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 |
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