This commit is contained in:
Zengtudor 2024-10-16 22:32:52 +08:00
parent 942f5c4ab2
commit 95a84514da

View File

@ -9,6 +9,10 @@ services:
GITLAB_OMNIBUS_CONFIG: |
external_url '$external_url'
gitlab_rails['time_zone'] = 'Asia/Shanghai'
nginx['enable'] = false
gitlab_workhorse['listen_network'] = "tcp"
gitlab_workhorse['listen_addr'] = "0.0.0.0:80"
gitlab_rails['trusted_proxies'] = ['$hostname']
# 需要配置到 gitlab.rb 中的配置可以在这里配置,每个配置一行,注意缩进。
# 比如下面的电子邮件的配置:
# gitlab_rails['smtp_enable'] = true