feat: add README

This commit is contained in:
Sun-ZhenXing
2025-09-24 14:16:10 +08:00
parent 232517b58f
commit 70f39867cf
65 changed files with 1695 additions and 103 deletions

32
src/gitlab/README.md Normal file
View File

@@ -0,0 +1,32 @@
# GitLab
[English](./README.md) | [中文](./README.zh.md)
This service sets up a GitLab service.
## Configuration
Edit the `config/gitlab.rb` file and add the following content:
```ruby
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.