This commit is contained in:
Zengtudor 2024-10-16 21:03:11 +08:00
parent fe78ebbe9e
commit 7ad807a861

View File

@ -7,7 +7,7 @@ services:
environment:
TZ: 'Asia/Shanghai'
GITLAB_OMNIBUS_CONFIG: |
external_url $external_url
external_url "$external_url"
gitlab_rails['time_zone'] = 'Asia/Shanghai'
# 需要配置到 gitlab.rb 中的配置可以在这里配置,每个配置一行,注意缩进。
# 比如下面的电子邮件的配置:
@ -19,7 +19,7 @@ services:
# gitlab_rails['smtp_authentication'] = "login"
# gitlab_rails['smtp_enable_starttls_auto'] = true
# gitlab_rails['smtp_tls'] = true
gitlab_rails['gitlab_email_from'] = $email
gitlab_rails['gitlab_email_from'] = "$email"
ports:
- '3080:80'
- '3443:443'
@ -27,4 +27,4 @@ services:
volumes:
- $gitlab_root/config:/etc/gitlab
- $gitlab_root/data:/var/opt/gitlab
- $gitlab_root/logs:/var/log/gitlab
- $gitlab_root/logs:/var/log/gitlab