Compare commits
63
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68bda50795 | ||
|
|
70c1554d87 | ||
|
|
d35cc3e374 | ||
|
|
df23fbbdb0 | ||
|
|
08b3a6f2e1 | ||
|
|
61a10316fe | ||
|
|
130daa0f96 | ||
|
|
46fefc26c7 | ||
|
|
882f7bedbd | ||
|
|
584826aece | ||
|
|
e7174d28ee | ||
|
|
2e6414b43b | ||
|
|
ba8e0b03dd | ||
|
|
56044eb337 | ||
|
|
452c4322fb | ||
|
|
7a4bad2a03 | ||
|
|
26bbc0b5a9 | ||
|
|
4ff1b44797 | ||
|
|
9bde320a22 | ||
|
|
4b1bd6a6e9 | ||
|
|
7ba4391a77 | ||
|
|
ccaa12ee5d | ||
|
|
7269eef82d | ||
|
|
a11760408e | ||
|
|
6a62faeb8a | ||
|
|
18ff6b92e2 | ||
|
|
bbbd6d8e33 | ||
|
|
c30ee1b6cb | ||
|
|
8b61fe0799 | ||
|
|
5eee97f9ac | ||
|
|
dcd0cba2a3 | ||
|
|
9ea28c04e0 | ||
|
|
c73259bd7e | ||
|
|
055d92a506 | ||
|
|
20885a2b84 | ||
|
|
1b7260cde2 | ||
|
|
25b4861905 | ||
|
|
a35ab05178 | ||
|
|
62092d1370 | ||
|
|
e68cde0b73 | ||
|
|
bdee69c323 | ||
|
|
c0ea6a57ff | ||
|
|
11cd551fb1 | ||
|
|
09c1fc9655 | ||
|
|
050ca1c6c8 | ||
|
|
e043301f4a | ||
|
|
018469e32d | ||
|
|
fd3d2610a0 | ||
|
|
1d03f6172b | ||
|
|
bfe12c03b5 | ||
|
|
2273022c17 | ||
|
|
5bb65a4d1f | ||
|
|
92d99b2346 | ||
|
|
91b789e115 | ||
|
|
b47095b29b | ||
|
|
ec06738768 | ||
|
|
7d902ef71d | ||
|
|
bc66403532 | ||
|
|
81afcc2d47 | ||
|
|
a8a94ca4d2 | ||
|
|
7c8ac5a72a | ||
|
|
454f23dfa3 | ||
|
|
177679f02c |
+14
-1
@@ -18,6 +18,10 @@ LETS_ENCRYPT_ENV=production
|
||||
GITLAB_ROOT_EMAIL="gitlab_admin@example.com"
|
||||
SECRET_INITIAL_ROOT_PASSWORD_VERSION=v1
|
||||
SECRET_RUNNER_TOKEN_VERSION=v1
|
||||
SECRET_SMTP_PASSWORD_VERSION=v1
|
||||
|
||||
GITLAB_CONF_VERSION=v1
|
||||
ENTRYPOINT_VERSION=v1
|
||||
|
||||
SSO=false
|
||||
## Authentik Configuration
|
||||
@@ -25,4 +29,13 @@ SSO=false
|
||||
# ORG_NAME="My Organization"
|
||||
# SSO_PROVIDER_URL="https://authentik.mydomain.com/application/o/gitlab/"
|
||||
# SSO_PROVIDER_ID="your authentik Client ID"
|
||||
# SECRET_SSO_PROVIDER_SECRET_VERSION=v1
|
||||
# SECRET_SSO_PROVIDER_SECRET_VERSION=v1
|
||||
|
||||
## Enable SMTP sending
|
||||
#SMTP_ENABLE_FLAG=true
|
||||
#SMTP_HOST=smtp.server.com
|
||||
#SMTP_PORT=465
|
||||
#SMTP_USER=your@user.com
|
||||
#SMTP_HOST_FROM_ADDRESS=your@user.com
|
||||
#SMTP_FROM_NAME="Gitlab"
|
||||
#SMTP_STARTTLS_FLAG=true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
GITLAB_CONF_VERSION=v1
|
||||
ENTRYPOINT_VERSION=v1
|
||||
export GITLAB_CONF_VERSION=v1
|
||||
export ENTRYPOINT_VERSION=v1
|
||||
|
||||
run_rails_command() {
|
||||
su -p root -s /bin/sh -c "gitlab-rails runner '$@'"
|
||||
|
||||
+6
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: 'gitlab/gitlab-ce:17.7.3-ce.0'
|
||||
image: 'gitlab/gitlab-ce:19.0.2-ce.0'
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
@@ -34,11 +34,12 @@ services:
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/etc/gitlab/,/var/log/gitlab/,/var/opt/gitlab/"
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-240}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.2+17.7.3-ce.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.2+19.0.2-ce.0"
|
||||
secrets:
|
||||
- initial_root_password
|
||||
- runner_token
|
||||
- sso_provider_secret
|
||||
- smtp_password
|
||||
healthcheck:
|
||||
test: ["CMD", "bash", "/opt/gitlab/etc/gitlab-healthcheck-rc" ]
|
||||
interval: 30s
|
||||
@@ -50,6 +51,9 @@ secrets:
|
||||
initial_root_password:
|
||||
external: true
|
||||
name: ${STACK_NAME}_initial_root_password_${SECRET_INITIAL_ROOT_PASSWORD_VERSION}
|
||||
smtp_password:
|
||||
external: true
|
||||
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
||||
runner_token:
|
||||
external: true
|
||||
name: ${STACK_NAME}_runner_token_${SECRET_RUNNER_TOKEN_VERSION}
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ echo "Copying custom Gitlab config to /etc/gitlab/"
|
||||
cp /gitlab.rb /etc/gitlab/gitlab.rb
|
||||
|
||||
echo "Entrypoint finished, launching Gitlab"
|
||||
exec "/assets/wrapper"
|
||||
exec "/assets/init-container"
|
||||
|
||||
+20
-20
@@ -82,15 +82,16 @@ external_url 'https://{{ env "DOMAIN" }}'
|
||||
###! Docs: https://docs.gitlab.com/omnibus/settings/smtp.html
|
||||
###! **Use smtp instead of sendmail/postfix.**
|
||||
|
||||
# gitlab_rails['smtp_enable'] = true
|
||||
# gitlab_rails['smtp_address'] = "smtp.server"
|
||||
# gitlab_rails['smtp_port'] = 465
|
||||
# gitlab_rails['smtp_user_name'] = "smtp user"
|
||||
# gitlab_rails['smtp_password'] = "smtp password"
|
||||
# gitlab_rails['smtp_domain'] = "example.com"
|
||||
# gitlab_rails['smtp_authentication'] = "login"
|
||||
# gitlab_rails['smtp_enable_starttls_auto'] = true
|
||||
# gitlab_rails['smtp_tls'] = false
|
||||
gitlab_rails['smtp_enable'] = {{ env "SMTP_ENABLE_FLAG" }}
|
||||
gitlab_rails['smtp_address'] = "{{ env "SMTP_HOST" }}"
|
||||
gitlab_rails['smtp_port'] = {{ env "SMTP_PORT" }}
|
||||
gitlab_rails['smtp_user_name'] = "{{ env "SMTP_USER" }}"
|
||||
gitlab_rails['smtp_password'] = "{{ secret "smtp_password" }}"
|
||||
gitlab_rails['smtp_domain'] = "{{ env "SMTP_DOMAIN" }}"
|
||||
gitlab_rails['smtp_authentication'] = "login"
|
||||
gitlab_rails['smtp_enable_starttls_auto'] = true
|
||||
gitlab_rails['smtp_tls'] = false
|
||||
|
||||
# gitlab_rails['smtp_pool'] = false
|
||||
|
||||
###! **Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert'**
|
||||
@@ -678,7 +679,7 @@ gitlab_rails['omniauth_providers'] = [
|
||||
# high_availability['mountpoint'] = ["/var/opt/gitlab/git-data", "/var/opt/gitlab/gitlab-rails/shared"]
|
||||
|
||||
### GitLab Shell settings for GitLab
|
||||
# gitlab_rails['gitlab_shell_ssh_port'] = 22
|
||||
gitlab_rails['gitlab_shell_ssh_port'] = {{ env "GITLAB_SSH_PORT" }}
|
||||
# gitlab_rails['gitlab_shell_git_timeout'] = 800
|
||||
|
||||
### Enable gitlab-sshd on a different port than OpenSSH
|
||||
@@ -2291,24 +2292,23 @@ registry_nginx['listen_https'] = false
|
||||
# grafana['metrics_basic_auth_password'] = 'please_set_a_unique_password' # default: nil
|
||||
# grafana['alerting_enabled'] = false
|
||||
|
||||
### SMTP Configuration
|
||||
### SMTP Configuration
|
||||
#
|
||||
# See: http://docs.grafana.org/administration/configuration/#smtp
|
||||
#
|
||||
# grafana['smtp'] = {
|
||||
# 'enabled' => true,
|
||||
# 'host' => 'localhost:25',
|
||||
# 'user' => nil,
|
||||
# 'password' => nil,
|
||||
# 'enabled' => {{ env "SMTP_ENABLE_FLAG" }},
|
||||
# 'host' => '{{ env "SMTP_HOST" }}:{{ env "SMTP_PORT" }}',
|
||||
# 'user' => {{ env "SMTP_USER" }},
|
||||
# 'password' => {{ secret "smtp_password" }},
|
||||
# 'cert_file' => nil,
|
||||
# 'key_file' => nil,
|
||||
# 'skip_verify' => false,
|
||||
# 'from_address' => 'admin@grafana.localhost',
|
||||
# 'from_name' => 'Grafana',
|
||||
# 'ehlo_identity' => 'dashboard.example.com',
|
||||
# 'startTLS_policy' => nil
|
||||
# 'from_address' => '{{ env "SMTP_FROM_ADDRESS" }}',
|
||||
# 'from_name' => '{{ env "SMTP_FROM_NAME" }}',
|
||||
# 'ehlo_identity' => '{{ env "SMTP_EHLO" }}',
|
||||
# 'startTLS_policy' => {{ env "SMTP_STARTTLS_FLAG" }}
|
||||
# }
|
||||
|
||||
# Grafana usage reporting defaults to gitlab_rails['usage_ping_enabled']
|
||||
# grafana['reporting_enabled'] = true
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Fixes bug where GITLAB_SSH_PORT was not set in the Gitlab config
|
||||
@@ -0,0 +1 @@
|
||||
Starting with 18.0, GitLab will collect event-level product usage data from Self-Managed and Dedicated instances — while ensuring privacy, transparency, and customer control. GitLab administrators can turn off the data collection toggle before any data is collected in version 18.0. For more information about this change and how you can opt out, see the documentation: https://docs.gitlab.com/17.11/administration/settings/event_data/
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user