13 Commits

5 changed files with 36 additions and 13 deletions
+14 -1
View File
@@ -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=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
+2 -2
View File
@@ -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
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: 'gitlab/gitlab-ce:18.3.0-ce.0'
image: 'gitlab/gitlab-ce:18.10.4-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.2.2+18.3.0-ce.0"
- "coop-cloud.${STACK_NAME}.version=0.2.3+18.10.4-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}
+8 -8
View File
@@ -2296,17 +2296,17 @@ registry_nginx['listen_https'] = false
# 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']
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}