Files
compose-anything/src/gitlab
2025-10-15 14:00:03 +08:00
..
2025-09-24 22:24:11 +08:00
2025-09-24 22:24:11 +08:00
2025-10-15 14:00:03 +08:00
2025-09-24 14:16:10 +08:00
2025-09-24 14:16:10 +08:00

GitLab

English | 中文

This service sets up a GitLab service.

Configuration

Edit the config/gitlab.rb file and add the following content:

external_url 'http://my-server.local:5080'
nginx['listen_port'] = 5080
gitlab_rails['gitlab_ssh_host'] = 'my-server'
gitlab_rails['gitlab_shell_ssh_port'] = 5022

Services

  • gitlab: The GitLab service.

Ports

  • 5443:443 (HTTPS)
  • 5080:80 (HTTP)
  • 5022:22 (SSH)

Volumes

  • config: A volume for storing GitLab configuration.
  • logs: A volume for storing GitLab logs.
  • data: A volume for storing GitLab data.